Skip to content

Commit a59f153

Browse files
authored
ci: patch phpunit deprecations inside component (#7103)
1 parent 32bf153 commit a59f153

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"require-dev": {
3535
"phpspec/prophecy-phpunit": "^2.2",
36-
"phpunit/phpunit": "^11.2"
36+
"phpunit/phpunit": "11.5.x-dev"
3737
},
3838
"autoload": {
3939
"psr-4": {
@@ -68,5 +68,11 @@
6868
},
6969
"scripts": {
7070
"test": "./vendor/bin/phpunit"
71-
}
71+
},
72+
"repositories": [
73+
{
74+
"type": "vcs",
75+
"url": "https://github.com/soyuka/phpunit"
76+
}
77+
]
7278
}

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<directory>./Tests/</directory>
99
</testsuite>
1010
</testsuites>
11-
<source>
11+
<source ignoreSuppressionOfDeprecations="true" ignoreIndirectDeprecations="false" >
1212
<deprecationTrigger>
1313
<function>trigger_deprecation</function>
1414
</deprecationTrigger>

0 commit comments

Comments
 (0)