[String] add tests to the Inflector

by @soyuka

Some issues have been detected in this pull request

0
Coding Standard

Issues that can be fixed by applying a patch

Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:

curl https://fabbot.io/patch/symfony/symfony/54108/ffa900baad336a27fcb172e9f5e3226c0aab3690/typos.diff | patch -p0
diff -ru src/Symfony/Component/String/Tests/Inflector/EnglishInflectorTest.php src/Symfony/Component/String/Tests/Inflector/EnglishInflectorTest.php
--- src/Symfony/Component/String/Tests/Inflector/EnglishInflectorTest.php	2024-03-13 16:02:48.251639487 +0000
+++ src/Symfony/Component/String/Tests/Inflector/EnglishInflectorTest.php	2024-03-13 16:02:51.232744697 +0000
@@ -82,12 +82,12 @@
             ['formulas', 'formula'],
             ['conspectuses', 'conspectus'],
             ['fungi', 'fungus'],
-            ['funguses', ['fungus', 'funguse', 'fungusis']],
+            ['fungi', ['fungus', 'funguse', 'fungusis']],
             ['garages', ['garag', 'garage']],
             ['geese', 'goose'],
             ['halves', ['half', 'halve', 'halff']],
             ['hats', 'hat'],
-            ['heroes', ['hero', 'heroe']],
+            ['heroes', ['hero', 'hero']],
             ['hippopotamuses', ['hippopotamus', 'hippopotamuse', 'hippopotamusis']], // hippopotami
             ['hoaxes', 'hoax'],
             ['hooves', ['hoof', 'hoove', 'hooff']],

0
License Headers

0
Pull Request Contributor Headers

0
File Permissions

0
Merge Commits

0
Exception Messages Formatting

0
Usage of void in test files

0
Use ::class whenever possible

0
Deprecation Messages