Passed
Push — master ( 505a98...965270 )
by Vladimir
07:00
created
src/Check/fs/DirWritable/Plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(static function ($value) {
48
+                                ->then(static function($value) {
49 49
                                     if (\is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
Please login to merge, or discard this patch.
src/Check/fs/JsonFile/Plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(static function ($value) {
48
+                                ->then(static function($value) {
49 49
                                     if (\is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
Please login to merge, or discard this patch.
src/Check/fs/YamlFile/Plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(static function ($value) {
48
+                                ->then(static function($value) {
49 49
                                     if (\is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
Please login to merge, or discard this patch.
src/Check/fs/XmlFile/Plugin.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(static function ($value) {
48
+                                ->then(static function($value) {
49 49
                                     if (\is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
Please login to merge, or discard this patch.
src/Reporter/Api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
             }
70 70
         }
71 71
 
72
-        $res = array_filter($res, static function ($v) {
72
+        $res = array_filter($res, static function($v) {
73 73
             return \is_array($v) ? !empty($v) : (null !== $v);
74 74
         });
75 75
 
Please login to merge, or discard this patch.
src/Command/CheckInfoCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 
94 94
             if ($tags) {
95 95
                 $tags = $this->runnerManager->findTags($check->getTags());
96
-                $tags = array_map(static function ($t) {
96
+                $tags = array_map(static function($t) {
97 97
                     return $t->getLabel();
98 98
                 }, $tags);
99 99
 
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -78,11 +78,11 @@  discard block
 block discarded – undo
78 78
 
79 79
         $checkPligins = $this->checkPlugins;
80 80
 
81
-        $addChecks = function ($rootNode) use ($checkPligins, $builder) {
81
+        $addChecks = function($rootNode) use ($checkPligins, $builder) {
82 82
             foreach ($this->checkPluginClasses as $checkPluginClass) {
83 83
                 $checkPligin = new $checkPluginClass();
84 84
 
85
-                $confMethods = array_filter(get_class_methods($checkPligin), static function ($n) {
85
+                $confMethods = array_filter(get_class_methods($checkPligin), static function($n) {
86 86
                     return preg_match('/Conf$/', $n);
87 87
                 });
88 88
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
         $node = $builder
109 109
             ->root('checks', 'array')
110 110
             ->beforeNormalization()
111
-            ->always(static function ($value) {
111
+            ->always(static function($value) {
112 112
                 $value = $value ? $value : [];
113 113
                 foreach ($value as $k => $v) {
114 114
                     $newK = str_replace('(s)', '_factory', $k);
Please login to merge, or discard this patch.
src/Check/CheckManager.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $groups = (array) (null === $groups ? [] : (\is_string($groups) ? [$groups] : $groups));
45 45
         $tags = (array) (null === $tags ? [] : (\is_string($tags) ? [$tags] : $tags));
46 46
 
47
-        $check = array_filter($this->toArray(), static function (CheckInterface $c) use ($ids, $groups, $tags) {
47
+        $check = array_filter($this->toArray(), static function(CheckInterface $c) use ($ids, $groups, $tags) {
48 48
             $inIds = ($ids) ? \in_array($c->getId(), $ids, true) : true;
49 49
             $inGroups = ($groups) ? \in_array($c->getGroup(), $groups, true) : true;
50 50
             $inTags = ($tags) ? (bool) array_intersect($c->getTags(), $tags) : true;
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         if ($groups) {
66 66
             $groups = \is_string($groups) ? [$groups] : $groups;
67 67
 
68
-            return array_filter($this->groups, static function ($t) use ($groups) {
68
+            return array_filter($this->groups, static function($t) use ($groups) {
69 69
                 return \in_array($t->getName(), $groups, true);
70 70
             });
71 71
         }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         if ($tags) {
84 84
             $tags = \is_string($tags) ? [$tags] : $tags;
85 85
 
86
-            return array_filter($this->tags, static function ($t) use ($tags) {
86
+            return array_filter($this->tags, static function($t) use ($tags) {
87 87
                 return \in_array($t->getName(), $tags, true);
88 88
             });
89 89
         }
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
     {
147 147
         foreach ($checkConfs as $id => $setting) {
148 148
             $serviceId = $setting['serviceId'];
149
-            $checkProxy = new Proxy(function () use ($serviceId, $id) {
149
+            $checkProxy = new Proxy(function() use ($serviceId, $id) {
150 150
                 $this->checks[$id] = $this->container->get($serviceId);
151 151
 
152 152
                 return $this->checks[$id];
Please login to merge, or discard this patch.
src/Runner/RunnerManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
     {
67 67
         $checks = $this->findChecks($ids, $groups, $tags);
68 68
 
69
-        uasort($checks, static function (CheckInterface $a, CheckInterface $b) {
69
+        uasort($checks, static function(CheckInterface $a, CheckInterface $b) {
70 70
             return ($a->getGroup() === $b->getGroup()) ? 0 : ($a->getGroup() < $b->getGroup() ? -1 : 1);
71 71
         });
72 72
 
Please login to merge, or discard this patch.