@@ -44,7 +44,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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]; |
@@ -37,7 +37,7 @@ |
||
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; |
@@ -109,7 +109,7 @@ |
||
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 |
@@ -41,7 +41,7 @@ |
||
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 | } |