Skip to content

Commit 71198aa

Browse files
oliverkleeSam Tuke
authored andcommitted
[BUGFIX] Fix Composer-related build failure with PHP 7 (#277)
Composer tries to install doctrine/instantiator 1.1.0 on PHP 7.0, but this version requires PHP ^7.1. This seems to be a bug in Composer, and requiring the latest PHP-7.0-compatible version of phpunit/phpunit-mock-objects works around this issue.
1 parent a3f4ea8 commit 71198aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"sensio/distribution-bundle": "^5.0.6"
4242
},
4343
"require-dev": {
44-
"phpunit/phpunit": "^6.5.0",
44+
"phpunit/phpunit": "^6.5.6",
45+
"phpunit/phpunit-mock-objects": "^5.0.6",
4546
"phpunit/dbunit": "^3.0.0",
4647
"guzzlehttp/guzzle": "^6.3.0",
4748
"squizlabs/php_codesniffer": "^3.2.0",

0 commit comments

Comments
 (0)