Skip to content

Doctrine like Inflector enhacment. #50805

Closed
@cs-akash-jarad

Description

@cs-akash-jarad

Description

Function to extend the EnglishInflector like Doctrine.
https://www.doctrine-project.org/projects/doctrine-inflector/en/2.0/index.html#custom-setup

Issue with Symfony/Component/String/EnglishInflector . Since we are using the following words in our project, the latest release is breaking the changes.
singular('Congress') -> "Congress" | Actual result is "Congres"
singular('Status') -> "Status" | Actual result is "Statu"

Example

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions