Passed
Branch 1.1 (dc15ae)
by MoshiMoshi
09:52
created
DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
                             ->defaultValue(0)
43 43
                             ->validate()
44 44
                                 // priority must be less than LocaleListener priority
45
-                                ->ifTrue(function ($priority) {
45
+                                ->ifTrue(function($priority) {
46 46
                                     return $priority >= Configuration::getPriorityMax();
47 47
                                 })
48 48
                                 ->thenInvalid('ConfigCacheListener priority[%s] must be less than LocaleListener priority['.Configuration::getPriorityMax().']')
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
                         ->end()
51 51
                     ->end()
52 52
                     ->validate()
53
-                        ->ifTrue(function ($locale) {
53
+                        ->ifTrue(function($locale) {
54 54
                             return $locale['enabled'] && $locale['locales'] === array();
55 55
                         })
56 56
                         ->thenInvalid('yahoo_japan_config_cache.locale.locales must be configured.')
Please login to merge, or discard this patch.
ConfigCache/Register/DirectoryRegister.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@  discard block
 block discarded – undo
29 29
     /**
30 30
      * Constructor.
31 31
      *
32
-     * @param ServiceRegister $serviceRegister
33 32
      */
34 33
     public function __construct(ServiceRegister $register)
35 34
     {
@@ -66,7 +65,7 @@  discard block
 block discarded – undo
66 65
      *
67 66
      * @param DirectoryResource $resource
68 67
      *
69
-     * @return DirectoryResource
68
+     * @return DirectoryRegister
70 69
      */
71 70
     public function add(DirectoryResource $resource)
72 71
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@
 block discarded – undo
251 251
     {
252 252
         $finder = Finder::create()
253 253
             ->files()
254
-            ->filter(function (\SplFileInfo $file) use ($excludes) {
254
+            ->filter(function(\SplFileInfo $file) use ($excludes) {
255 255
                 foreach ($excludes as $exclude) {
256 256
                     if (strpos($file->getRealPath(), $exclude) !== false) {
257 257
                         return false;
Please login to merge, or discard this patch.