Skip to content

Commit 7a987df

Browse files
committed
build: Update phpunit/phpunit to 10.5.58
- Update PHPUnit config for version 10 with `--migrate-configuration` - Enabled options to display all notices, deprecations, etc. Change-Id: I92afb87acdb27f77e8e96bd2dc281d9eb274c5b5
1 parent 44cfe02 commit 7a987df

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"ockcyp/covers-validator": "1.7.0",
3838
"php-parallel-lint/php-console-highlighter": "1.0.0",
3939
"php-parallel-lint/php-parallel-lint": "1.4.0",
40-
"phpunit/phpunit": "9.6.21"
40+
"phpunit/phpunit": "10.5.58"
4141
},
4242
"scripts": {
4343
"test": [

phpunit.xml.dist

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
<?xml version="1.0"?>
2-
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" colors="true" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutOutputDuringTests="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3-
<coverage includeUncoveredFiles="true">
2+
<phpunit
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
colors="true"
5+
displayDetailsOnTestsThatTriggerDeprecations="true"
6+
displayDetailsOnTestsThatTriggerErrors="true"
7+
displayDetailsOnTestsThatTriggerNotices="true"
8+
displayDetailsOnTestsThatTriggerWarnings="true"
9+
displayDetailsOnPhpunitDeprecations="true"
10+
failOnDeprecation="true"
11+
failOnPhpunitDeprecation="true"
12+
failOnNotice="true"
13+
requireCoverageMetadata="true"
14+
beStrictAboutTestsThatDoNotTestAnything="true"
15+
beStrictAboutOutputDuringTests="true"
16+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd">
17+
<source>
418
<include>
519
<directory suffix=".php">./src</directory>
620
</include>
7-
</coverage>
21+
</source>
822
<testsuites>
923
<testsuite name="testing-access-wrapper Tests">
1024
<directory>./tests</directory>

0 commit comments

Comments
 (0)