Skip to content

Commit d74f389

Browse files
committed
bug symfony#32017 [Contracts] add missing required dependencies (mbessolov)
This PR was merged into the 4.3 branch. Discussion ---------- [Contracts] add missing required dependencies | Q | A | ------------- | --- | Branch? | 4.3 <!-- see below --> | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | symfony#32016 <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | n/a <!-- required for new features --> As discussed in symfony#32016, added missing required deps so that symfony/cache-contracts and symfony/service-contracts can be installed and used on their own. cc @nicolas-grekas Commits ------- 9cbeb63 Added missing required dependencies on psr/cache and psr/container in symfony/cache-contracts and symfony/service-contracts respectively.
2 parents 1c1d6d9 + 9cbeb63 commit d74f389

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

src/Symfony/Contracts/Cache/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.1.3"
19+
"php": "^7.1.3",
20+
"psr/cache": "^1.0"
2021
},
2122
"suggest": {
22-
"psr/cache": "",
2323
"symfony/cache-implementation": ""
2424
},
2525
"autoload": {

src/Symfony/Contracts/Service/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.1.3"
19+
"php": "^7.1.3",
20+
"psr/container": "^1.0"
2021
},
2122
"suggest": {
22-
"psr/container": "",
2323
"symfony/service-implementation": ""
2424
},
2525
"autoload": {

src/Symfony/Contracts/composer.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.1.3"
19+
"php": "^7.1.3",
20+
"psr/cache": "^1.0",
21+
"psr/container": "^1.0"
2022
},
2123
"require-dev": {
22-
"psr/cache": "^1.0",
23-
"psr/container": "^1.0",
2424
"symfony/polyfill-intl-idn": "^1.10"
2525
},
2626
"replace": {
@@ -31,8 +31,6 @@
3131
"symfony/translation-contracts": "self.version"
3232
},
3333
"suggest": {
34-
"psr/cache": "When using the Cache contracts",
35-
"psr/container": "When using the Service contracts",
3634
"psr/event-dispatcher": "When using the EventDispatcher contracts",
3735
"symfony/cache-implementation": "",
3836
"symfony/event-dispatcher-implementation": "",

0 commit comments

Comments
 (0)