Test Failed
Push — master ( 3e1f63...b2d2e1 )
by Vladimir
04:38
created
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 ($alias, $groups, $tags) {
47
+        $check = array_filter($this->toArray(), static function(CheckInterface $c) use ($alias, $groups, $tags) {
48 48
             $inAlias = ($alias) ? \in_array($c->getId(), $alias, 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
         }
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     {
132 132
         foreach ($checkConfs as $id => $setting) {
133 133
             $serviceId = $setting['serviceId'];
134
-            $checkProxy = new Proxy(function () use ($serviceId, $id) {
134
+            $checkProxy = new Proxy(function() use ($serviceId, $id) {
135 135
                 $this->checks[$id] = $this->container->get($serviceId);
136 136
 
137 137
                 return $this->checks[$id];
Please login to merge, or discard this patch.
src/Controller/ApiInfoTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
                 $tags = $check->getTags();
38 38
 
39 39
                 $d = ['check' => $check->getId(), 'label' => $check->getLabel(), 'group' => $check->getGroup(), 'tags' => $tags, 'Descr' => $check->getDescr()];
40
-                $d = array_filter($d, static function ($v) {
40
+                $d = array_filter($d, static function($v) {
41 41
                     return !empty($v);
42 42
                 });
43 43
                 $data[] = $d;
Please login to merge, or discard this patch.
src/Controller/ApiCheckTrait.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.
src/Controller/ApiInitTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     {
42 42
         $this->runnerManager = $runnerManager;
43 43
         $this->reporterManager = $reporterManager;
44
-        $this->serializer  = $serializer;
44
+        $this->serializer = $serializer;
45 45
 
46 46
         exit;
47 47
     }
Please login to merge, or discard this patch.