1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Remove E_USER_WARNING from error reporting since it's part of debugging.

This commit is contained in:
camer0n
2025-04-12 07:29:42 -07:00
parent 2f3b4a435b
commit 7002a141f9

View File

@@ -146,10 +146,10 @@ jobs:
run: | run: |
if [ $(php -r 'printf(extension_loaded("xdebug") ? 1 : 0);') = '1' ] if [ $(php -r 'printf(extension_loaded("xdebug") ? 1 : 0);') = '1' ]
then then
php -d xdebug.mode=coverage ./vendor/bin/codecept run unit --steps --debug --coverage --coverage-xml #--coverage-html php -d error_reporting="E_ALL & ~E_USER_WARNING" -d xdebug.mode=coverage ./vendor/bin/codecept run unit --steps --debug --coverage --coverage-xml
else else
echo "Warning: xdebug not available; skipping coverage..." echo "Warning: xdebug not available; skipping coverage..."
php ./vendor/bin/codecept run unit --steps --debug php -d error_reporting="E_ALL & ~E_USER_WARNING" ./vendor/bin/codecept run unit --steps --debug
fi fi
working-directory: ./e107_tests/ working-directory: ./e107_tests/