Skip to content

Commit 1f9bd3a

Browse files
committed
Update phpunit.xml to display deprecations
1 parent 90a9a74 commit 1f9bd3a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,4 +704,4 @@ jobs:
704704
run: composer require phpunit/phpunit:~${{ matrix.phpunit-version }} --no-interaction --no-progress
705705

706706
- name: PHPUnit
707-
run: vendor/bin/phpunit --display-deprecations
707+
run: vendor/bin/phpunit

phpunit.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<phpunit
22
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.3/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
4+
displayDetailsOnPhpunitDeprecations="true"
5+
displayDetailsOnTestsThatTriggerDeprecations="true"
46
bootstrap="vendor/autoload.php">
57
<testsuite name="Unit tests">
68
<directory>tests/</directory>

0 commit comments

Comments
 (0)