Passed
Push — master ( f5f798...b56d23 )
by Vladimir
04:20
created
src/Check/php/StreamWrapperExists/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(function ($value) {
49
-                                    if(is_string($value))  {
48
+                                ->then(function($value) {
49
+                                    if (is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
52 52
                                     return $value;
Please login to merge, or discard this patch.
src/Check/php/PhpFlag/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@
 block discarded – undo
45 45
                             ->isRequired()
46 46
                             ->beforeNormalization()
47 47
                                 ->ifString()
48
-                                ->then(function ($value) {
49
-                                    if(is_string($value))  {
48
+                                ->then(function($value) {
49
+                                    if (is_string($value)) {
50 50
                                         $value = [$value];
51 51
                                     }
52 52
                                     return $value;
Please login to merge, or discard this patch.
src/Check/php/ExtensionLoaded/Config.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
             ->children()
21 21
                 ->arrayNode('check')
22 22
                     ->beforeNormalization()
23
-                    ->always(function ($value) {
24
-                        if(isset($value['extensionName']) && !is_array($value['extensionName'])) {
23
+                    ->always(function($value) {
24
+                        if (isset($value['extensionName']) && !is_array($value['extensionName'])) {
25 25
                             $value['extensionName'] = [$value['extensionName']];
26 26
                         }
27 27
                         return $value;
Please login to merge, or discard this patch.
src/Command/CheckInfoCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $this
45 45
             ->setName('tvi:monitor:check:info')
46 46
             ->setDescription('Info Health Checkers')
47
-            ->addOption('group', 'g',InputOption::VALUE_OPTIONAL, 'Check group')
47
+            ->addOption('group', 'g', InputOption::VALUE_OPTIONAL, 'Check group')
48 48
         ;
49 49
     }
50 50
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
         $checkMetadatas = $this->manager->getCheckMetadatas($group);
79 79
 
80 80
         if (0 === count($checkMetadatas)) {
81
-            if(empty($group)) {
81
+            if (empty($group)) {
82 82
                 $output->writeln(sprintf('<error>No checks configured.</error>'));
83 83
             } else {
84 84
                 $output->writeln(sprintf('<error>No checks configured for group %s.</error>', $group));
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         foreach ($checkMetadatas as $checkMetadata) {
90 90
 
91 91
             $currentGroup = $checkMetadata->getGroup();
92
-            if(empty($group) && $showGroup != $currentGroup) {
92
+            if (empty($group) && $showGroup != $currentGroup) {
93 93
                 $output->writeln(sprintf('<fg=yellow;options=bold>%s</>', $currentGroup));
94 94
                 $showGroup = $currentGroup;
95 95
             }
Please login to merge, or discard this patch.
src/Check/fs/DiskFree/Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 {
22 22
     public function testIntegration()
23 23
     {
24
-        $this->iterateConfTest(__DIR__ . '/config.example.yml');
24
+        $this->iterateConfTest(__DIR__.'/config.example.yml');
25 25
     }
26 26
 
27 27
     public function testCheck()
Please login to merge, or discard this patch.
src/Check/fs/YamlFile/Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 {
22 22
     public function testIntegration()
23 23
     {
24
-        $this->iterateConfTest(__DIR__ . '/config.example.yml');
24
+        $this->iterateConfTest(__DIR__.'/config.example.yml');
25 25
     }
26 26
 
27 27
     public function testCheck()
Please login to merge, or discard this patch.
src/Check/fs/XmlFile/Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 {
22 22
     public function testIntegration()
23 23
     {
24
-        $this->iterateConfTest(__DIR__ . '/config.example.yml');
24
+        $this->iterateConfTest(__DIR__.'/config.example.yml');
25 25
     }
26 26
 
27 27
     public function testCheck()
Please login to merge, or discard this patch.
src/Check/fs/IniFile/Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 {
22 22
     public function testIntegration()
23 23
     {
24
-        $this->iterateConfTest(__DIR__ . '/config.example.yml');
24
+        $this->iterateConfTest(__DIR__.'/config.example.yml');
25 25
     }
26 26
 
27 27
     public function testCheck()
Please login to merge, or discard this patch.
src/Check/fs/DiskUsage/Test.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 {
22 22
     public function testIntegration()
23 23
     {
24
-        $this->iterateConfTest(__DIR__ . '/config.example.yml');
24
+        $this->iterateConfTest(__DIR__.'/config.example.yml');
25 25
     }
26 26
 
27 27
     public function testCheck()
Please login to merge, or discard this patch.