Skip to content

Commit 4e9c081

Browse files
author
Grégoire Paris
committed
Move the phpunit dep to the require-dev section
Some packages choose to use a globally-installed phpunit, and things can get messy when autoloading classes if there also is phpunit and its dependencies installed via Composer. See sebastianbergmann/phpunit#1757
1 parent b421841 commit 4e9c081

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@
1515
"require": {
1616
"php": "^5.3|^7.0",
1717

18-
"phpunit/phpunit": "^4.0|^5.0",
1918
"sebastian/exporter": "^1.0",
2019
"symfony/config": "^2.3|^3.0"
2120
},
21+
"require-dev": {
22+
"phpunit/phpunit": "^4.0|^5.0"
23+
},
2224
"minimum-stability": "dev",
2325
"prefer-stable": true,
2426
"autoload": {

0 commit comments

Comments
 (0)