Skip to content

Commit 3610521

Browse files
committed
Added "--display-notices" option to test scripts
1 parent b7ca1ce commit 3610521

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
run: composer install --prefer-dist --no-progress
4646

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

5050
- name: Upload coverage reports to Codecov
5151
uses: codecov/codecov-action@v3

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"php-code"
2020
],
2121
"scripts": {
22-
"test": "phpunit",
23-
"test-coverage": "phpunit --coverage-html tests/coverage"
22+
"test": "phpunit --display-notices",
23+
"test-coverage": "phpunit --coverage-html tests/coverage --display-notices"
2424
},
2525
"require": {
2626
"php": ">=8.1",

0 commit comments

Comments
 (0)