Skip to content

Commit c207fe9

Browse files
committed
revert phpunit
1 parent 99200d4 commit c207fe9

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
if: matrix.symfony
7474
- run: composer update --no-interaction --no-progress --ansi ${{ matrix.composer_option }}
7575
- name: Run tests
76-
run: vendor/bin/phpunit --colors=always --coverage-clover coverage.xml
76+
run: vendor/bin/phpunit --colors=always --coverage-clover=clover.xml
7777
env:
7878
SYMFONY_DEPRECATIONS_HELPER: max[self]=${{matrix.max_deprecations}}
7979

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"symfony/validator": "^6.0 || ^7.0 || ^8.0"
2626
},
2727
"require-dev": {
28-
"phpunit/phpunit": "^10.5",
28+
"phpunit/phpunit": "^9.6",
2929
"symfony/http-client-contracts": "^3.5",
3030
"symfony/phpunit-bridge": "^7.3"
3131
},

phpunit.xml.dist

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit
33
colors="true"
4+
convertErrorsToExceptions="true"
5+
convertNoticesToExceptions="true"
6+
convertWarningsToExceptions="true"
47
beStrictAboutTestsThatDoNotTestAnything="false"
58
bootstrap="vendor/autoload.php"
69
>
@@ -10,9 +13,9 @@
1013
</testsuite>
1114
</testsuites>
1215

13-
<source>
16+
<coverage>
1417
<include>
1518
<directory>src</directory>
1619
</include>
17-
</source>
20+
</coverage>
1821
</phpunit>

0 commit comments

Comments
 (0)