Skip to content

Commit c9d6df1

Browse files
committed
Composer: make the PHPUnit requirements more flexible
... and the same across configs. Composer will sort out which version will actually be installed.
1 parent 1821647 commit c9d6df1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.circleci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"php" : ">=5.6.0"
3636
},
3737
"require-dev": {
38-
"phpunit/phpunit": "^5.0",
38+
"phpunit/phpunit": "^5.0 || ^6.5",
3939
"squizlabs/php_codesniffer": "^3.1"
4040
}
4141
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"require-dev": {
4242
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.4",
43-
"phpunit/phpunit": "^6.5",
43+
"phpunit/phpunit": "^5.0 || ^6.5",
4444
"sirbrillig/phpcs-import-detection": "^1.1",
4545
"limedeck/phpunit-detailed-printer": "^3.1",
4646
"phpstan/phpstan": "^0.11.8"

0 commit comments

Comments
 (0)