8000 minor #35948 [String] move symfony/translation-contracts to require-d… · symfony/symfony@7c90c8b · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c90c8b

Browse files
committed
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: https://github.com/symfony/symfony/blob/210ea2202b7384ac5e5793ae64f9bfe561c857e5/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L217-L220 Commits ------- aea80ed [String] move symfony/translation-contracts to require-dev
2 parents 210ea22 + aea80ed commit 7c90c8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/String/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919
"php": "^7.2.5",
2020
"symfony/polyfill-intl-grapheme": "~1.0",
2121
"symfony/polyfill-intl-normalizer": "~1.0",
22-
"symfony/polyfill-mbstring": "~1.0",
23-
"symfony/translation-contracts": "^1.1|^2"
22+
"symfony/polyfill-mbstring": "~1.0"
2423
},
2524
"require-dev": {
2625
"symfony/error-handler": "^4.4|^5.0",
2726
"symfony/http-client": "^4.4|^5.0",
27+
"symfony/translation-contracts": "^1.1|^2",
2828
"symfony/var-exporter": "^4.4|^5.0"
2929
},
3030
"autoload": {

0 commit comments

Comments
 (0)
0