Skip to content

Commit 359e303

Browse files
committed
Mark phpunit-mock-objects-3.2.0 as conflict
PHPUnit released phpunit-mock-objects-3.2.0 which breaks historic PHPUnit versions (5.2.12, 5.1.7 and 5.0.10). These PHPUnit versions require that dependency with no upper bound. Tests are failing with: > Call to undefined method PHPMockTest::registerMockObject() PHPUnit fixed the issue with a phpunit-mock-objects-3.2.1 release. However said versions will not receive a patch, as PHPUnit considers them already as unsupported. This commit marks the breaking phpunit-mock-objects-3.2.0 dependency as a conflict. See also: sebastianbergmann/phpunit-mock-objects#308
1 parent 68f0745 commit 359e303

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,8 @@
2323
},
2424
"archive": {
2525
"exclude": ["/tests"]
26+
},
27+
"conflict": {
28+
"phpunit/phpunit-mock-objects": "3.2.0"
2629
}
2730
}

0 commit comments

Comments
 (0)