minor #35948 [String] move symfony/translation-contracts to require-dev (nicolas-grekas)

This PR was merged into the 5.1-dev branch.

Discussion
----------

[String] move symfony/translation-contracts to require-dev

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Since it's needed only if `AsciiSlugger` is used.
Surprisingly, the code in `FrameworkExtension` deals with this as if the dep was already optional:
210ea2202b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php (L217-L220)

Commits
-------

aea80edc78 [String] move symfony/translation-contracts to require-dev
This commit is contained in:
Fabien Potencier 2020-03-04 06:35:35 +01:00
commit 7c90c8ba84
1 changed files with 2 additions and 2 deletions

View File

@ -19,12 +19,12 @@
"php": "^7.2.5",
"symfony/polyfill-intl-grapheme": "~1.0",
"symfony/polyfill-intl-normalizer": "~1.0",
"symfony/polyfill-mbstring": "~1.0",
"symfony/translation-contracts": "^1.1|^2"
"symfony/polyfill-mbstring": "~1.0"
},
"require-dev": {
"symfony/error-handler": "^4.4|^5.0",
"symfony/http-client": "^4.4|^5.0",
"symfony/translation-contracts": "^1.1|^2",
"symfony/var-exporter": "^4.4|^5.0"
},
"autoload": {