Skip to content

Commit a98f087

Browse files
Mokhtar Tlilisfmok
authored andcommitted
upgrade phpunit to fix parser error
1 parent 8e79da8 commit a98f087

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22
/vendor/
33
/.idea
44
.phpunit.cache
5-
.php-cs-fixer.cache
5+
.php-cs-fixer.cache
6+
.phpunit.result.cache
7+
coverage.xml

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"symfony/property-access": "^5.4 || ^6.0"
2828
},
2929
"require-dev": {
30-
"phpunit/phpunit": "^9",
30+
"phpunit/phpunit": "^9.5",
3131
"symfony/framework-bundle": "^5.4 || ^6.0",
3232
"phpspec/prophecy-phpunit": "^2.0",
3333
"friendsofphp/php-cs-fixer": "^3.13",

phpunit.xml.dist

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit colors="true" bootstrap="vendor/autoload.php">
3-
<testsuites>
4-
<testsuite name="RequestInputBundle for the Symfony Framework">
5-
<directory>./tests</directory>
6-
</testsuite>
7-
</testsuites>
8-
9-
<filter>
10-
<whitelist>
11-
<directory>.</directory>
12-
<exclude>
13-
<directory>./Resources</directory>
14-
<directory>./Tests</directory>
15-
<directory>./vendor</directory>
16-
</exclude>
17-
</whitelist>
18-
</filter>
3+
<coverage>
4+
<include>
5+
<directory>.</directory>
6+
</include>
7+
<exclude>
8+
<directory>./tests</directory>
9+
<directory>./vendor</directory>
10+
</exclude>
11+
</coverage>
12+
<testsuites>
13+
<testsuite name="RequestInputBundle for the Symfony Framework">
14+
<directory>./tests</directory>
15+
</testsuite>
16+
</testsuites>
1917
</phpunit>

0 commit comments

Comments
 (0)