File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ docker run -i --rm ibexa_php:latest-node bash -c "php -v; php -m"
64
64
printf " \nVersion and module information about php build with enabled xdebug\n"
65
65
docker run -i --rm -e ENABLE_XDEBUG=" 1" ibexa_php:latest-node bash -c " php -v; php -m"
66
66
67
- printf " \Integration : Behat testing on ibexa_php:latest and ibexa_php:latest-node with eZ Platform\n"
67
+ printf " \nIntegration : Behat testing on ibexa_php:latest and ibexa_php:latest-node with eZ Platform\n"
68
68
cd volumes/ezplatform
69
69
70
70
export COMPOSE_FILE=" doc/docker/base-dev.yml:doc/docker/redis.yml:doc/docker/selenium.yml"
@@ -74,6 +74,11 @@ export PHP_IMAGE="ibexa_php:latest-node" PHP_IMAGE_DEV="ibexa_php:latest-node"
74
74
docker-compose --env-file .env up -d --build --force-recreate
75
75
echo ' > Workaround for test issues: Change ownership of files inside docker container'
76
76
docker-compose --env-file=.env exec -T app sh -c ' chown -R www-data:www-data /var/www'
77
+ if docker run -i --rm ibexa_php:latest-node bash -c " php -v" | grep -q ' 8.3' ; then
78
+ echo ' > Set PHP 8.2+ Ibexa error handler to avoid deprecations'
79
+ docker-compose --env-file=.env exec -T --user www-data app sh -c " composer config extra.runtime.error_handler \"\\ Ibexa\\ Contracts\\ Core\\ MVC\\ Symfony\\ ErrorHandler\\ Php82HideDeprecationsErrorHandler\" "
80
+ docker-compose --env-file=.env exec -T --user www-data app sh -c " composer dump-autoload"
81
+ fi
77
82
# Rebuild Symfony container
78
83
docker-compose --env-file=.env exec -T --user www-data app sh -c " rm -rf var/cache/*"
79
84
docker-compose --env-file=.env exec -T --user www-data app php bin/console cache:clear
You can’t perform that action at this time.
0 commit comments