bug #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 | #32016    <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        | n/a <!-- required for new features -->

As discussed in #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
-------

9cbeb63613 Added missing required dependencies on psr/cache and psr/container in symfony/cache-contracts and symfony/service-contracts respectively.
This commit is contained in:
Fabien Potencier 2019-06-13 11:07:42 +02:00
commit d74f389143
3 changed files with 7 additions and 9 deletions

View File

@ -16,10 +16,10 @@
}
],
"require": {
"php": "^7.1.3"
"php": "^7.1.3",
"psr/cache": "^1.0"
},
"suggest": {
"psr/cache": "",
"symfony/cache-implementation": ""
},
"autoload": {

View File

@ -16,10 +16,10 @@
}
],
"require": {
"php": "^7.1.3"
"php": "^7.1.3",
"psr/container": "^1.0"
},
"suggest": {
"psr/container": "",
"symfony/service-implementation": ""
},
"autoload": {

View File

@ -16,11 +16,11 @@
}
],
"require": {
"php": "^7.1.3"
"php": "^7.1.3",
"psr/cache": "^1.0",
"psr/container": "^1.0"
},
"require-dev": {
"psr/cache": "^1.0",
"psr/container": "^1.0",
"symfony/polyfill-intl-idn": "^1.10"
},
"replace": {
@ -31,8 +31,6 @@
"symfony/translation-contracts": "self.version"
},
"suggest": {
"psr/cache": "When using the Cache contracts",
"psr/container": "When using the Service contracts",
"psr/event-dispatcher": "When using the EventDispatcher contracts",
"symfony/cache-implementation": "",
"symfony/event-dispatcher-implementation": "",