Test Setup Failed
Push — nln-bump-to-php8.3 ( 4ce985...2d3a4a )
by Nicolas
07:48 queued 06:51
created
src/Configuration/Parser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Karma\Configuration;
6 6
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
     {
84 84
         $files = [$masterFilePath];
85 85
 
86
-        while(! empty($files))
86
+        while( ! empty($files))
87 87
         {
88 88
             foreach($files as $file)
89 89
             {
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 
136 136
     private function extractLines(string $filePath): array
137 137
     {
138
-        if(! $this->fs->has($filePath))
138
+        if( ! $this->fs->has($filePath))
139 139
         {
140 140
             throw new \RuntimeException("$filePath does not exist");
141 141
         }
Please login to merge, or discard this patch.
src/Configuration/AbstractReader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Karma\Configuration;
6 6
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     public function setDefaultEnvironment(string $environment): void
44 44
     {
45
-        if(! empty($environment) && is_string($environment))
45
+        if( ! empty($environment) && is_string($environment))
46 46
         {
47 47
             $this->defaultEnvironment = $environment;
48 48
         }
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             }, $value);
92 92
         }
93 93
 
94
-        if(! is_string($value))
94
+        if( ! is_string($value))
95 95
         {
96 96
             return $value;
97 97
         }
Please login to merge, or discard this patch.
src/Configuration/Parser/ExternalParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Karma\Configuration\Parser;
6 6
 
Please login to merge, or discard this patch.
src/Configuration/Parser/VariableParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Karma\Configuration\Parser;
6 6
 
Please login to merge, or discard this patch.
src/Configuration/Parser/IncludeParser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Karma\Configuration\Parser;
6 6
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     private function checkFilenameIsValid(string $filename): void
32 32
     {
33
-        if(! preg_match('~.*\.conf$~', $filename))
33
+        if( ! preg_match('~.*\.conf$~', $filename))
34 34
         {
35 35
             $this->triggerError("$filename is not a valid file name", 'Invalid dependency');
36 36
         }
Please login to merge, or discard this patch.
src/Configuration/Parser/NullParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Karma\Configuration\Parser;
6 6
 
Please login to merge, or discard this patch.
src/Configuration/Parser/AbstractSectionParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Karma\Configuration\Parser;
6 6
 
Please login to merge, or discard this patch.
src/Configuration/Parser/SectionParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Karma\Configuration\Parser;
6 6
 
Please login to merge, or discard this patch.
src/Configuration/Collections/SectionParserCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 namespace Karma\Configuration\Collections;
6 6
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     public function get(string $sectionName): SectionParser
86 86
     {
87
-        if(! $this->has($sectionName))
87
+        if( ! $this->has($sectionName))
88 88
         {
89 89
             throw new \RuntimeException('Unknown section name ' . $sectionName);
90 90
         }
Please login to merge, or discard this patch.