Skip to content

Commit fd1bed2

Browse files
committed
update the list of required dependencies
To make it easier to see which dependencies are actually required packages are now sorted. That was not a technical requirement. * added `symfony/config`, this package is needed by the dependency injection extension * added `symfony/http-kernel` which provides the base `Bundle` class * added `php-http/httplug` and `psr/http-message` which provide interfaces the bundle relies on to be present * moved `symfony/framework-bundle` to the `require-dev` section, it is only needed in tests where the `WebTestCase` class is used for functional tests * added `guzzlehttp/psr7`, `php-http/promise`, `symfony/stopwatch`, and `symfony/http-foundation` as dev dependencies * removed `phpunit/php-token-stream`, `symfony/finder`, and `symfony/twig-bridge` from `require-dev`
1 parent 3a2c71d commit fd1bed2

File tree

1 file changed

+30
-22
lines changed

1 file changed

+30
-22
lines changed

composer.json

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,40 +17,45 @@
1717
],
1818
"require": {
1919
"php": "^5.5 || ^7.0",
20-
"php-http/client-implementation": "^1.0",
21-
"php-http/message-factory": "^1.0.2",
2220
"php-http/client-common": "^1.6",
21+
"php-http/client-implementation": "^1.0",
2322
"php-http/cache-plugin": "^1.4",
23+
"php-http/discovery": "^1.0",
24+
"php-http/httplug": "^1.0",
2425
"php-http/logger-plugin": "^1.0",
25-
"php-http/stopwatch-plugin": "^1.0",
26-
"symfony/options-resolver": "^2.8 || ^3.0 || ^4.0",
27-
"symfony/event-dispatcher": "^2.8 || ^3.0 || ^4.0",
28-
"symfony/framework-bundle": "^2.8 || ^3.0 || ^4.0",
2926
"php-http/message": "^1.4",
30-
"php-http/discovery": "^1.0",
31-
"twig/twig": "^1.18 || ^2.0",
27+
"php-http/message-factory": "^1.0.2",
28+
"php-http/stopwatch-plugin": "^1.0",
29+
"psr/http-message": "^1.0",
3230
"symfony/asset": "^2.8 || ^3.0 || ^4.0",
33-
"symfony/dependency-injection": "^2.8.3 || ^3.0.3 || ^4.0"
31+
"symfony/config": "^2.8 || ^3.0 || ^4.0",
32+
"symfony/dependency-injection": "^2.8.3 || ^3.0.3 || ^4.0",
33+
"symfony/event-dispatcher": "^2.8 || ^3.0 || ^4.0",
34+
"symfony/http-kernel": "^2.8 || ^3.0 || ^4.0",
35+
"symfony/options-resolver": "^2.8 || ^3.0 || ^4.0",
36+
"twig/twig": "^1.18 || ^2.0"
3437
},
3538
"require-dev": {
36-
"phpunit/php-token-stream": "^1.1.8",
39+
"guzzlehttp/psr7": "^1.0",
40+
"matthiasnoback/symfony-dependency-injection-test": "^1.1 || ^2.0",
41+
"nyholm/nsa": "^1.1",
42+
"php-http/buzz-adapter": "^0.3",
3743
"php-http/curl-client": "^1.0",
38-
"php-http/socket-client": "^1.0",
3944
"php-http/guzzle6-adapter": "^1.1.1",
40-
"php-http/react-adapter": "^0.2.1",
41-
"php-http/buzz-adapter": "^0.3",
4245
"php-http/mock-client": "^1.0",
43-
"symfony/phpunit-bridge": "^3.3 || ^4.0",
44-
"symfony/twig-bundle": "^2.8 || ^3.0 || ^4.0",
45-
"symfony/twig-bridge": "^2.8 || ^3.0 || ^4.0",
46-
"symfony/web-profiler-bundle": "^2.8 || ^3.0 || ^4.0",
47-
"symfony/finder": "^2.7 || ^3.0 || ^4.0",
48-
"symfony/cache": "^3.1 || ^4.0",
46+
"php-http/promise": "^1.0",
47+
"php-http/react-adapter": "^0.2.1",
48+
"php-http/socket-client": "^1.0",
49+
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
4950
"symfony/browser-kit": "^2.8 || ^3.0 || ^4.0",
51+
"symfony/cache": "^3.1 || ^4.0",
5052
"symfony/dom-crawler": "^2.8 || ^3.0 || ^4.0",
51-
"polishsymfonycommunity/symfony-mocker-container": "^1.0",
52-
"matthiasnoback/symfony-dependency-injection-test": "^1.1 || ^2.0",
53-
"nyholm/nsa": "^1.1"
53+
"symfony/framework-bundle": "^2.8.1 || ^3.0.1 || ^4.0",
54+
"symfony/http-foundation": "^2.8 || ^3.0 || ^4.0",
55+
"symfony/phpunit-bridge": "^3.3 || ^4.0",
56+
"symfony/stopwatch": "^2.8 || ^3.0 || ^4.0",
57+
"symfony/twig-bundle": "^2.8 || ^3.0 || ^4.0",
58+
"symfony/web-profiler-bundle": "^2.8 || ^3.0 || ^4.0"
5459
},
5560
"conflict": {
5661
"php-http/guzzle6-adapter": "<1.1"
@@ -69,6 +74,9 @@
6974
"test": "vendor/bin/simple-phpunit",
7075
"test-ci": "vendor/bin/simple-phpunit --coverage-text --coverage-clover=build/coverage.xml"
7176
},
77+
"config": {
78+
"sort-packages": true
79+
},
7280
"extra": {
7381
"branch-alias": {
7482
"dev-master": "1.8-dev"

0 commit comments

Comments
 (0)