Commit dcbfcb4
committed
bug symfony#52727 [String] Fix Inflector for 'icon' (podhy)
This PR was submitted for the 7.1 branch but it was merged into the 5.4 branch instead.
Discussion
----------
[String] Fix Inflector for 'icon'
| Q | A
| ------------- | ---
| Branch? | 5.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
Hello,
this PR fixes problem when inflecting `icon` word into `icons`. Currently it returns wrong result `ica`
Please make someone review because I'm not 100% sure if this is the right way how to fix it.
Thank you.
Btw: older versions are also affected and it should be possible to merge it there
Commits
-------
4f620a1 [String] Fix Inflector for 'icon'File tree
2 files changed
+4
-0
lines changed- src/Symfony/Component/String
- Inflector
- Tests/Inflector
2 files changed
+4
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
256 | 259 | | |
257 | 260 | | |
258 | 261 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
| 298 | + | |
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
| |||
0 commit comments