Completed
Push — generator ( d513fc...4b1eac )
by Sullivan
05:16 queued 02:57
created
src/Bridge/Symfony/DependencyInjection/Compiler/TranslationPass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
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')
Please login to merge, or discard this patch.
src-dev/Console/Command/GenerateCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,13 +31,13 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.