Skip to content

Commit

Permalink
Added "--display-notices" option to test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterWoshid committed Nov 1, 2023
1 parent b7ca1ce commit 3610521
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
run: composer install --prefer-dist --no-progress

- name: PHPUnit Tests
run: vendor/bin/phpunit --coverage-clover ./tests/coverage.xml
run: vendor/bin/phpunit --coverage-clover ./tests/coverage.xml --display-notices

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"php-code"
],
"scripts": {
"test": "phpunit",
"test-coverage": "phpunit --coverage-html tests/coverage"
"test": "phpunit --display-notices",
"test-coverage": "phpunit --coverage-html tests/coverage --display-notices"
},
"require": {
"php": ">=8.1",
Expand Down

0 comments on commit 3610521

Please sign in to comment.