Skip to content

Commit 0edd08a

Browse files
oliverkleeSam Tuke
authored andcommitted
[BUGFIX] Fix Composer-related build failure with PHP 7.0 (#52)
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 69d5099 commit 0edd08a

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
@@ -31,7 +31,8 @@
3131
"roave/security-advisories": "dev-master"
3232
},
3333
"require-dev": {
34-
"phpunit/phpunit": "^6.5.0",
34+
"phpunit/phpunit": "^6.5.6",
35+
"phpunit/phpunit-mock-objects": "^5.0.6",
3536
"guzzlehttp/guzzle": "^6.3.0",
3637
"squizlabs/php_codesniffer": "^3.2.0",
3738
"phpstan/phpstan": "^0.7.0",

0 commit comments

Comments
 (0)