diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c3f0a41..5e5aa6f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,11 @@ jobs: composer install $COMPOSER_FLAGS - name: Test - run: php -d xdebug.mode=coverage -d xdebug.overload_var_dump=0 vendor/bin/phpunit + run: | + php -d error_reporting=$(php -r 'echo E_ALL & ~ E_DEPRECATED & ~ E_NOTICE;') + -d xdebug.mode=coverage \ + -d xdebug.overload_var_dump=0 \ + vendor/bin/phpunit - name: Upload coverage results to Coveralls env: