@@ -29,7 +29,7 @@ |
||
29 | 29 | |
30 | 30 | $finder = Finder::create() |
31 | 31 | ->files() |
32 | - ->filter(function (\SplFileInfo $file) { |
|
32 | + ->filter(function(\SplFileInfo $file) { |
|
33 | 33 | return 2 === substr_count($file->getBasename(), '.') && preg_match('/\.\w+$/', $file->getBasename()); |
34 | 34 | }) |
35 | 35 | ->in(__DIR__.'/../../../Resources/translations') |
@@ -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 |