Skip to content

Commit

Permalink
Upgrade PHPUnit to 9.5
Browse files Browse the repository at this point in the history
  • Loading branch information
villfa committed Dec 4, 2020
1 parent 458a695 commit 87bfc10
Show file tree
Hide file tree
Showing 17 changed files with 1,655 additions and 675 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
"require-dev": {
"bamarni/composer-bin-plugin": "^1.3",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^8.1",
"phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^9.0",
"symfony/phpunit-bridge": "^4.2 || ^5.0"
},
"suggest": {
Expand Down
959 changes: 680 additions & 279 deletions composer.lock

Large diffs are not rendered by default.

32 changes: 15 additions & 17 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,20 @@
</testsuite>
</testsuites>

<filter>
<whitelist>
<coverage>
<include>
<directory suffix=".php">src/</directory>

<exclude>
<file>src/bootstrap.php</file>
<file>src/consts.php</file>
<file>src/functions.php</file>
<file>src/Console/Command/Build.php</file>
<file>src/Console/Command/ChangeableWorkingDirectory.php</file>
<file>src/PhpSettingsHandler.php</file>
<directory>src/Console/Logger</directory>
<directory>src/FileSystem</directory>
<directory>src/Test</directory>
</exclude>
</whitelist>
</filter>

</include>
<exclude>
<file>src/bootstrap.php</file>
<file>src/consts.php</file>
<file>src/functions.php</file>
<file>src/Console/Command/Build.php</file>
<file>src/Console/Command/ChangeableWorkingDirectory.php</file>
<file>src/PhpSettingsHandler.php</file>
<directory>src/Console/Logger</directory>
<directory>src/FileSystem</directory>
<directory>src/Test</directory>
</exclude>
</coverage>
</phpunit>
2 changes: 1 addition & 1 deletion requirement-checker/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"composer/semver": "^3.2"
},
"require-dev": {
"phpunit/phpunit": "^8.0"
"phpunit/phpunit": "^9.0"
},

"config": {
Expand Down
Loading

0 comments on commit 87bfc10

Please sign in to comment.