Completed
Push — master ( d1862c...5857ff )
by Vladimir
05:48
created
src/DependencyInjection/TviMonitorExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
         $containerParams = [];
92 92
 
93 93
         if (isset($config['checks'])) {
94
-            $config['checks'] = array_filter($config['checks'], function ($i) {
94
+            $config['checks'] = array_filter($config['checks'], function($i) {
95 95
                 return $i;
96 96
             });
97 97
 
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
         $configurationClasses = $this->getConfigClasses();
80 80
 
81
-        $addChecks = function ($rootNode) use ($configurationClasses, $builder) {
81
+        $addChecks = function($rootNode) use ($configurationClasses, $builder) {
82 82
             foreach ($configurationClasses as $conf) {
83 83
                 $conf = new $conf();
84 84
                 foreach (get_class_methods($conf) as $method) {
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
         $node = $builder
98 98
             ->root('checks', 'array')
99 99
             ->beforeNormalization()
100
-            ->always(function ($value) {
100
+            ->always(function($value) {
101 101
                 foreach ($value as $k => $v) {
102 102
                     $newK = str_replace('(s)', '_factory', $k);
103 103
                     if ($newK != $k) {
Please login to merge, or discard this patch.
src/Runner/Reporter/ArrayReporter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
             }
68 68
         }
69 69
 
70
-        $res = array_filter($res, function ($v) {
70
+        $res = array_filter($res, function($v) {
71 71
             return \is_array($v) ? !empty($v) : (null !== $v);
72 72
         });
73 73
 
Please login to merge, or discard this patch.
src/Command/CheckGeneratorCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
      */
190 190
     private function createFile(string $basePath, string $from, string $to, array $tplData)
191 191
     {
192
-        $r = array_filter($this->tpls, function (SplFileInfo $f) use ($from) {
192
+        $r = array_filter($this->tpls, function(SplFileInfo $f) use ($from) {
193 193
             return $f->getBasename() == $from;
194 194
         });
195 195
 
Please login to merge, or discard this patch.
src/Check/fs/DirReadable/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
                             ->isRequired()
44 44
                             ->beforeNormalization()
45 45
                                 ->ifString()
46
-                                ->then(function ($value) {
46
+                                ->then(function($value) {
47 47
                                     if (\is_string($value)) {
48 48
                                         $value = [$value];
49 49
                                     }
Please login to merge, or discard this patch.
src/Check/php/ExtensionNotLoaded/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
             ->children()
40 40
                 ->arrayNode('check')
41 41
                     ->beforeNormalization()
42
-                    ->always(function ($value) {
42
+                    ->always(function($value) {
43 43
                         if (isset($value['extensionName']) && !\is_array($value['extensionName'])) {
44 44
                             $value['extensionName'] = [$value['extensionName']];
45 45
                         }
Please login to merge, or discard this patch.
src/Check/Manager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         if ($groups) {
60 60
             $groups = \is_string($groups) ? [$groups] : $groups;
61 61
 
62
-            return array_filter($this->groups, function ($t) use ($groups) {
62
+            return array_filter($this->groups, function($t) use ($groups) {
63 63
                 return \in_array($t->getName(), $groups);
64 64
             });
65 65
         }
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         if ($tags) {
88 88
             $tags = \is_string($tags) ? [$tags] : $tags;
89 89
 
90
-            return array_filter($this->tags, function ($t) use ($tags) {
90
+            return array_filter($this->tags, function($t) use ($tags) {
91 91
                 return \in_array($t->getName(), $tags);
92 92
             });
93 93
         }
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
     {
114 114
         foreach ($checkServiceMap as $checkId => $check) {
115 115
             $checkServiceId = $check['serviceId'];
116
-            $checkProxy = new Proxy(function () use ($checkServiceId, $checkId) {
116
+            $checkProxy = new Proxy(function() use ($checkServiceId, $checkId) {
117 117
                 $this->checks[$checkId] = $this->container->get($checkServiceId);
118 118
 
119 119
                 return $this->checks[$checkId];
Please login to merge, or discard this patch.
src/Check/fs/IniFile/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
                             ->isRequired()
44 44
                             ->beforeNormalization()
45 45
                                 ->ifString()
46
-                                ->then(function ($value) {
46
+                                ->then(function($value) {
47 47
                                     if (\is_string($value)) {
48 48
                                         $value = [$value];
49 49
                                     }
Please login to merge, or discard this patch.
src/Check/fs/DirWritable/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
                             ->isRequired()
44 44
                             ->beforeNormalization()
45 45
                                 ->ifString()
46
-                                ->then(function ($value) {
46
+                                ->then(function($value) {
47 47
                                     if (\is_string($value)) {
48 48
                                         $value = [$value];
49 49
                                     }
Please login to merge, or discard this patch.