This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony
Fabien Potencier 3e737ec28f feature #35092 [Inflector][String] Move Inflector in String (fancyweb)
This PR was merged into the 5.1-dev branch.

Discussion
----------

[Inflector][String] Move Inflector in String

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | yes
| Tickets       | https://github.com/orgs/symfony/projects/1#card-30499514
| License       | MIT
| Doc PR        | -

Needs https://github.com/symfony/symfony/pull/35091.

Should we have a standalone inflector (like the Slugger) or 2 new methods (pluralize and singularize) on the AbstractString class? I implemented both but since we only handle English I finally preferred the first one.

TODO (after the "move" is OK):
- [x] Deprecate the Inflector component
- [x] Use the String inflector in Symfony's code

Commits
-------

9c6a5c0093 [String] Move Inflector in String
2020-05-05 08:52:01 +02:00
..
Bridge Automatically provide Messenger Doctrine schema to "diff" 2020-05-05 08:13:52 +02:00
Bundle feature #36302 [Form] Add the html5 option to ColorType to validate the input (fancyweb) 2020-05-05 08:48:59 +02:00
Component feature #35092 [Inflector][String] Move Inflector in String (fancyweb) 2020-05-05 08:52:01 +02:00
Contracts Merge branch '5.0' 2020-03-18 09:01:26 +01:00