Skip to content

Commit fb80229

Browse files
minor #36826 [String] Move Inflector's polyfill-ctype dependency to String (derrabus)
This PR was merged into the 5.1-dev branch. Discussion ---------- [String] Move Inflector's polyfill-ctype dependency to String | Q | A | ------------- | --- | Branch? | 5.1 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | N/A | License | MIT | Doc PR | N/A With #35092, the inflector implementation was moved to the string component, including all calls to `ext-ctype`. This is why I think the dependency on the corresponding polyfill should be moved as well, which is what this PR does. Commits ------- de960b8 [String] Move Inflector's polyfill-ctype dependency to String.
2 parents be93a22 + de960b8 commit fb80229

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/Symfony/Component/Inflector/composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"require": {
2626
"php": "^7.2.5",
2727
"symfony/deprecation-contracts": "^2.1",
28-
"symfony/polyfill-ctype": "~1.8",
2928
"symfony/string": "^5.1"
3029
},
3130
"autoload": {

src/Symfony/Component/String/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
],
1818
"require": {
1919
"php": "^7.2.5",
20+
"symfony/polyfill-ctype": "~1.8",
2021
"symfony/polyfill-intl-grapheme": "~1.0",
2122
"symfony/polyfill-intl-normalizer": "~1.0",
2223
"symfony/polyfill-mbstring": "~1.0",

0 commit comments

Comments
 (0)