diff --git a/bin/ci/test.sh b/bin/ci/test.sh index c15971e..3322505 100755 --- a/bin/ci/test.sh +++ b/bin/ci/test.sh @@ -64,6 +64,12 @@ docker run -i --rm ibexa_php:latest-node bash -c "php -v; php -m" printf "\nVersion and module information about php build with enabled xdebug\n" docker run -i --rm -e ENABLE_XDEBUG="1" ibexa_php:latest-node bash -c "php -v; php -m" +if echo "$PHP_IMAGE" | grep -q '8.3'; then + echo "> Set PHP 8.2+ Ibexa error handler to avoid deprecations" + docker exec install_dependencies composer config extra.runtime.error_handler "\\Ibexa\\Contracts\\Core\\MVC\\Symfony\\ErrorHandler\\Php82HideDeprecationsErrorHandler" + docker exec install_dependencies composer dump-autoload +fi + printf "\Integration: Behat testing on ibexa_php:latest and ibexa_php:latest-node with eZ Platform\n" cd volumes/ezplatform