Skip to content

Commit 577d4f2

Browse files
oliverkleeSam Tuke
authored andcommitted
[BUGFIX] Fix Composer-related build failure with PHP 7.0 (#96)
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 b3027a8 commit 577d4f2

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
@@ -33,7 +33,8 @@
3333
"roave/security-advisories": "dev-master"
3434
},
3535
"require-dev": {
36-
"phpunit/phpunit": "^6.5.0",
36+
"phpunit/phpunit": "^6.5.6",
37+
"phpunit/phpunit-mock-objects": "^5.0.6",
3738
"phpunit/dbunit": "^3.0.0",
3839
"guzzlehttp/guzzle": "^6.3.0",
3940
"squizlabs/php_codesniffer": "^3.2.0",

0 commit comments

Comments
 (0)