Skip to content

Commit c23fa89

Browse files
committed
be explicit about required dependencies
Depending on the FrameworkBundle implicitly pulling into all the required packages is fragile and likely to break.
1 parent d5690af commit c23fa89

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ matrix:
1717
include:
1818
- php: 7.0
1919
env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable"
20-
- php: 7.0
21-
env: COMPOSER_OPTIONS=""
2220
- php: 7.1
2321
env: TEST_COVERAGE=true
2422
allow_failures:

composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@
1414
"require": {
1515
"php": ">=5.3.3",
1616
"sentry/sentry": ">=1.5.0",
17-
"symfony/framework-bundle": ">=2.4.0"
17+
"symfony/config": "^2.4|^3.0",
18+
"symfony/console": "^2.4|^3.0",
19+
"symfony/dependency-injection": "^2.4|^3.0",
20+
"symfony/event-dispatcher": "^2.4|^3.0",
21+
"symfony/http-kernel": "^2.4|^3.0",
22+
"symfony/security-core": "^2.4|^3.0"
1823
},
1924
"require-dev": {
2025
"friendsofphp/php-cs-fixer": "^1.8.0",
2126
"phpunit/phpunit": "^4.6.6"
2227
},
23-
"minimum-stability": "dev",
2428
"autoload": {
2529
"psr-0" : {
2630
"Sentry\\SentryBundle\\": "src/"

0 commit comments

Comments
 (0)