Completed
Push — master ( 883653...0fb449 )
by Vladimir
10:59 queued 04:58
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/Check/CheckManager.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         $groups = (array) (null === $groups ? [] : (\is_string($groups) ? [$groups] : $groups));
51 51
         $tags = (array) (null === $tags ? [] : (\is_string($tags) ? [$tags] : $tags));
52 52
 
53
-        $check = array_filter($this->toArray(), static function (CheckInterface $c) use ($alias, $groups, $tags) {
53
+        $check = array_filter($this->toArray(), static function(CheckInterface $c) use ($alias, $groups, $tags) {
54 54
             $inAlias = ($alias) ? \in_array($c->getId(), $alias, true) : true;
55 55
             $inGroups = ($groups) ? \in_array($c->getGroup(), $groups, true) : true;
56 56
             $inTags = ($tags) ? (bool) array_intersect($c->getTags(), $tags) : true;
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         if ($groups) {
72 72
             $groups = \is_string($groups) ? [$groups] : $groups;
73 73
 
74
-            return array_filter($this->groups, static function ($t) use ($groups) {
74
+            return array_filter($this->groups, static function($t) use ($groups) {
75 75
                 return \in_array($t->getName(), $groups, true);
76 76
             });
77 77
         }
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         if ($tags) {
90 90
             $tags = \is_string($tags) ? [$tags] : $tags;
91 91
 
92
-            return array_filter($this->tags, static function ($t) use ($tags) {
92
+            return array_filter($this->tags, static function($t) use ($tags) {
93 93
                 return \in_array($t->getName(), $tags, true);
94 94
             });
95 95
         }
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     {
122 122
         foreach ($checkServiceMap as $checkId => $check) {
123 123
             $serviceId = $check['serviceId'];
124
-            $checkProxy = new Proxy(function () use ($serviceId, $checkId) {
124
+            $checkProxy = new Proxy(function() use ($serviceId, $checkId) {
125 125
                 $this->checks[$checkId] = $this->container->get($serviceId);
126 126
 
127 127
                 return $this->checks[$checkId];
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/Controller/ApiController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
         try {
110 110
             list($checks, $groups, $tags) = $this->getFilterParams($request);
111 111
 
112
-            $checks = array_filter($checks, static function ($i) {
112
+            $checks = array_filter($checks, static function($i) {
113 113
                 return null !== $i;
114 114
             });
115 115
 
Please login to merge, or discard this patch.