Skip to content

Commit 036a5ba

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: If79e77d6a8f1412f94580a51545e577735b0fffa
1 parent b47421d commit 036a5ba

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
@@ -33,7 +33,7 @@
3333
"ockcyp/covers-validator": "1.7.0",
3434
"php-parallel-lint/php-console-highlighter": "1.0.0",
3535
"php-parallel-lint/php-parallel-lint": "1.4.0",
36-
"phpunit/phpunit": "9.6.21"
36+
"phpunit/phpunit": "10.5.58"
3737
},
3838
"scripts": {
3939
"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="CLDRPluralRuleParser Tests">
1024
<directory>./tests</directory>

0 commit comments

Comments
 (0)