Skip to content

Commit c065114

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: I52a3b5b11be337f1eb9ff1dcd9c280077552fe91
1 parent 96196fe commit c065114

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"ockcyp/covers-validator": "1.7.0",
3636
"php-parallel-lint/php-console-highlighter": "1.0.0",
3737
"php-parallel-lint/php-parallel-lint": "1.4.0",
38-
"phpunit/phpunit": "9.6.21"
38+
"phpunit/phpunit": "10.5.58"
3939
},
4040
"suggest": {
4141
"ext-dba": "PHP extension for DBA access. Would be quicker than the PHP based fallback"

phpunit.xml.dist

Lines changed: 18 additions & 4 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" verbose="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>
5-
<directory suffix=".php">./src</directory>
19+
<directory suffix=".php">./src</directory>
620
</include>
7-
</coverage>
21+
</source>
822
<testsuites>
923
<testsuite name="CDB Tests">
1024
<directory>./tests</directory>

0 commit comments

Comments
 (0)