Skip to content

Commit

Permalink
Replace dynamic error_reporting calculation with pre-calculated number
Browse files Browse the repository at this point in the history
  • Loading branch information
e1himself committed Jul 21, 2021
1 parent 113ea38 commit 4acdac1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ jobs:
composer install $COMPOSER_FLAGS
- name: Test
env:
ERROR_REPORTING: 24567 # E_ALL & ~ E_DEPRECATED & ~ E_NOTICE
run: |
php -d error_reporting=$(php -r 'echo E_ALL & ~ E_DEPRECATED & ~ E_NOTICE;')
php -d error_reporting=$ERROR_REPORTING
-d xdebug.mode=coverage \
-d xdebug.overload_var_dump=0 \
vendor/bin/phpunit
Expand Down

0 comments on commit 4acdac1

Please sign in to comment.