Skip to content

Commit 0e4c916

Browse files
committed
Drop PHPUnit 11 for now
It turns out it does not work due to changes in PHPUnit (missing traits like TestListenerDefaultImplementation). Tests were not failing before as other dependencies were preventing the PHPUnit from updating to 11. Re #47
1 parent 2f62ccf commit 0e4c916

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "library",
55
"require": {
66
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
7-
"phpunit/phpunit": "^9.0 || ^10.0 || ^11.0",
7+
"phpunit/phpunit": "^9.0 || ^10.0",
88
"psr/container": "^1.0 || ^2.0",
99
"zalas/injector": "^2.0"
1010
},

tests/phar/phpunit.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.0/phpunit.xsd"
3+
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd"
44
beStrictAboutOutputDuringTests="true"
55
beStrictAboutTodoAnnotatedTests="true"
66
verbose="true"

0 commit comments

Comments
 (0)