@@ -56,15 +56,15 @@ |
||
| 56 | 56 | $fqcnRepository = new FqcnRepository(new FileRepository(), new ParserFactory()); |
| 57 | 57 | |
| 58 | 58 | $isoCodesClasses = array_diff( |
| 59 | - array_map(function ($fqcn) { |
|
| 59 | + array_map(function($fqcn) { |
|
| 60 | 60 | return str_replace('IsoCodes\\', '', $fqcn); |
| 61 | 61 | }, $fqcnRepository->findIn(__DIR__.'/../../../vendor/ronanguilloux/isocodes/src/IsoCodes')), |
| 62 | 62 | $this->excludedClasses |
| 63 | 63 | ); |
| 64 | 64 | |
| 65 | - $constraintClasses = array_filter(array_map(function ($fqcn) { |
|
| 65 | + $constraintClasses = array_filter(array_map(function($fqcn) { |
|
| 66 | 66 | return str_replace('SLLH\\IsoCodesValidator\\Constraints\\', '', $fqcn); |
| 67 | - }, $fqcnRepository->findIn(__DIR__.'/../../../src/Constraints')), function ($className) { |
|
| 67 | + }, $fqcnRepository->findIn(__DIR__.'/../../../src/Constraints')), function($className) { |
|
| 68 | 68 | return !empty(trim($className)); |
| 69 | 69 | }); |
| 70 | 70 | |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use Symfony\Component\Translation\Dumper\XliffFileDumper; |
| 13 | 13 | use Symfony\Component\Translation\Loader\XliffFileLoader; |
| 14 | 14 | use Symfony\Component\Translation\MessageCatalogue; |
| 15 | -use Symfony\Component\Translation\MessageCatalogueInterface; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * @author Sullivan Senechal <[email protected]> |