bug #34244 [Inflector] add support for 'species' (jeffreymoelands)
This PR was merged into the 4.3 branch.
Discussion
----------
[Inflector] add support for 'species'
| Q | A
| ------------- | ---
| Branch? | 4.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets |
| License | MIT
| Doc PR |
This PR improves the inflection of the word 'species'
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.
Additionally (see https://symfony.com/roadmap):
- Always add tests and ensure they pass.
- Never break backward compatibility (see https://symfony.com/bc).
- Bug fixes must be submitted against the lowest maintained branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too.)
- Features and deprecations must be submitted against branch 4.4.
- Legacy code removals go to the master branch.
-->
Commits
-------
cc87e40a8f
add species to inflector and inflector tests
This commit is contained in:
commit
ddf9e0fa1c
@ -318,6 +318,7 @@ final class Inflector
|
|||||||
'esoom',
|
'esoom',
|
||||||
'seires',
|
'seires',
|
||||||
'peehs',
|
'peehs',
|
||||||
|
'seiceps',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -134,6 +134,7 @@ class InflectorTest extends TestCase
|
|||||||
['services', 'service'],
|
['services', 'service'],
|
||||||
['sheriffs', 'sheriff'],
|
['sheriffs', 'sheriff'],
|
||||||
['shoes', ['sho', 'shoe']],
|
['shoes', ['sho', 'shoe']],
|
||||||
|
['species', 'species'],
|
||||||
['spies', 'spy'],
|
['spies', 'spy'],
|
||||||
['staves', ['staf', 'stave', 'staff']],
|
['staves', ['staf', 'stave', 'staff']],
|
||||||
['stories', 'story'],
|
['stories', 'story'],
|
||||||
@ -268,6 +269,7 @@ class InflectorTest extends TestCase
|
|||||||
['service', 'services'],
|
['service', 'services'],
|
||||||
['sheriff', 'sheriffs'],
|
['sheriff', 'sheriffs'],
|
||||||
['shoe', 'shoes'],
|
['shoe', 'shoes'],
|
||||||
|
['species', 'species'],
|
||||||
['spy', 'spies'],
|
['spy', 'spies'],
|
||||||
['staff', 'staves'],
|
['staff', 'staves'],
|
||||||
['story', 'stories'],
|
['story', 'stories'],
|
||||||
|
Reference in New Issue
Block a user