Completed
Push — generator ( dbb943...8cd36d )
by Sullivan
07:21 queued 04: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 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,15 +56,15 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
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]>
Please login to merge, or discard this patch.