Skip to content

Commit d809977

Browse files
prisisNyholm
authored andcommitted
Some changes in composer.json (#34)
* moved phpunit to require-dev updated php version to php5.5 Class name resolution via ::class is not supported in php 5.4 changed path in script test, composer knows all vendor bins * moved phpunit back to require
1 parent 99ec077 commit d809977

File tree

1 file changed

+17
-14
lines changed

1 file changed

+17
-14
lines changed

composer.json

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,34 @@
11
{
22
"name": "php-http/psr7-integration-tests",
33
"description": "Test suite for PSR7",
4-
"license": "MIT",
5-
"keywords": ["test", "psr-7"],
4+
"keywords": [
5+
"test",
6+
"psr-7"
7+
],
68
"homepage": "http://php-http.org",
9+
"license": "MIT",
710
"authors": [
811
{
912
"name": "Tobias Nyholm",
1013
"email": "[email protected]"
1114
}
1215
],
1316
"require": {
14-
"php": "^5.4 || ^7.0",
15-
"psr/http-message": "^1.0",
16-
"phpunit/phpunit": "^5.4 || ^6.0 || ^7.0"
17+
"php": "^5.5 || ^7.0",
18+
"phpunit/phpunit": "^5.4 || ^6.0 || ^7.0",
19+
"psr/http-message": "^1.0"
1720
},
1821
"require-dev": {
19-
"zendframework/zend-diactoros": "^1.8",
2022
"guzzlehttp/psr7": "^1.4",
21-
"slim/http": "^0.3",
23+
"nyholm/psr7": "dev-master",
2224
"ringcentral/psr7": "^1.2",
23-
"nyholm/psr7": "dev-master"
25+
"slim/http": "^0.3",
26+
"zendframework/zend-diactoros": "^1.8"
27+
},
28+
"extra": {
29+
"branch-alias": {
30+
"dev-master": "1.0-dev"
31+
}
2432
},
2533
"autoload": {
2634
"psr-4": {
@@ -33,11 +41,6 @@
3341
}
3442
},
3543
"scripts": {
36-
"test": "vendor/bin/phpunit"
37-
},
38-
"extra": {
39-
"branch-alias": {
40-
"dev-master": "1.0-dev"
41-
}
44+
"test": "phpunit"
4245
}
4346
}

0 commit comments

Comments
 (0)