Skip to content

Commit 80f95b0

Browse files
authored
ci: patch phpunit deprecations inside component (#7103)
1 parent a705271 commit 80f95b0

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
@@ -29,7 +29,7 @@
2929
"require-dev": {
3030
"phpspec/prophecy-phpunit": "^2.2",
3131
"symfony/serializer": "^6.4 || ^7.0",
32-
"phpunit/phpunit": "^11.2",
32+
"phpunit/phpunit": "11.5.x-dev",
3333
"symfony/validator": "^6.4 || ^7.0",
3434
"symfony/http-kernel": "^6.4 || ^7.0"
3535
},
@@ -63,5 +63,11 @@
6363
},
6464
"scripts": {
6565
"test": "./vendor/bin/phpunit"
66-
}
66+
},
67+
"repositories": [
68+
{
69+
"type": "vcs",
70+
"url": "https://github.com/soyuka/phpunit"
71+
}
72+
]
6773
}

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)