Passed
Pull Request — master (#80)
by
unknown
17:28 queued 14:31
created
src/Checks/Servers/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
         try {
24 24
             DB::connection()->getPdo();
25
-            if (! DB::connection()->getDatabaseName()) {
25
+            if (!DB::connection()->getDatabaseName()) {
26 26
                 $builder->down()->withData("error", "Could not find the database.");
27 27
             }
28 28
         } catch (\Exception $e) {
Please login to merge, or discard this patch.
src/Checks/Servers/DatabaseTables.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
             $tables = $this->getParam('tables', []);
27 27
             $missing = [];
28 28
             foreach ($tables as $table) {
29
-                if (! DB::getSchemaBuilder()->hasTable($table)) {
29
+                if (!DB::getSchemaBuilder()->hasTable($table)) {
30 30
                     $missing[] = $table;
31 31
 
32 32
                     $builder->down();
Please login to merge, or discard this patch.
src/Services/HealthService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
             $class = $check['class'] ?? null;
23 23
             $params = $check['params'] ?? [];
24 24
 
25
-            if (! $class || ! class_exists($class)) {
25
+            if (!$class || !class_exists($class)) {
26 26
 
27 27
                 /** @var Health\Checks\HealthCheckInterface $healthCheck */
28 28
                 $healthCheck = new ErrorCheck([
Please login to merge, or discard this patch.
src/Resources/HealthCheckCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function toArray($request)
27 27
     {
28
-        return $this->collection->transform(function ($item) {
28
+        return $this->collection->transform(function($item) {
29 29
             return new HealthCheck($item);
30 30
         })->values();
31 31
     }
Please login to merge, or discard this patch.
src/Checks/Cli/Exec.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,9 +33,9 @@
 block discarded – undo
33 33
 
34 34
             $output = $process->getOutput();
35 35
 
36
-            if (! $process->isSuccessful()) {
36
+            if (!$process->isSuccessful()) {
37 37
                 $builder->down();
38
-            } elseif ($result && ! preg_match("|{$result}|", $output)) {
38
+            } elseif ($result && !preg_match("|{$result}|", $output)) {
39 39
                 $builder->down();
40 40
             }
41 41
         }
Please login to merge, or discard this patch.