Skip to content

Commit 76f9ab1

Browse files
committed
Avoid two last versions of phpunit mock objects
They are buggy. This implies using phpunit from the vendors. See https://github.com/sebastianbergmann/phpunit-mock-objects/pull/324/files and sebastianbergmann/phpunit-mock-objects#322
1 parent f6234f2 commit 76f9ab1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ lint:
1616
git diff --exit-code
1717

1818
test:
19-
phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
19+
vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
2020

2121
docs:
2222
cd Resources/doc && sphinx-build -W -b html -d _build/doctrees . _build/html

composer.json

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
},
3232
"require-dev": {
3333
"knplabs/knp-menu-bundle": "^2.1.1",
34+
"phpunit/phpunit": "^4.7 || ^5.5",
35+
"phpunit/phpunit-mock-objects": "!=3.2.4,!=3.2.5",
3436
"simplethings/entity-audit-bundle": "0.1 - 0.9",
3537
"sllh/php-cs-fixer-styleci-bridge": "^2.0",
3638
"symfony/phpunit-bridge": "^2.7 || ^3.0"

0 commit comments

Comments
 (0)