@@ -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') |
@@ -31,13 +31,13 @@ |
||
31 | 31 | { |
32 | 32 | $fqcnRepository = new FqcnRepository(new FileRepository(), new ParserFactory()); |
33 | 33 | |
34 | - $isoCodesClasses = array_map(function ($fqcn) { |
|
34 | + $isoCodesClasses = array_map(function($fqcn) { |
|
35 | 35 | return str_replace('IsoCodes\\', '', $fqcn); |
36 | 36 | }, $fqcnRepository->findIn(__DIR__.'/../../../vendor/ronanguilloux/isocodes/src/IsoCodes')); |
37 | 37 | |
38 | - $constraintClasses = array_filter(array_map(function ($fqcn) { |
|
38 | + $constraintClasses = array_filter(array_map(function($fqcn) { |
|
39 | 39 | return str_replace('SLLH\\IsoCodesValidator\\Constraints\\', '', $fqcn); |
40 | - }, $fqcnRepository->findIn(__DIR__.'/../../../src/Constraints')), function ($className) { |
|
40 | + }, $fqcnRepository->findIn(__DIR__.'/../../../src/Constraints')), function($className) { |
|
41 | 41 | return !empty(trim($className)); |
42 | 42 | }); |
43 | 43 |