Test Setup Failed
Push — nln-bump-to-php8.3 ( 4ce985...2d3a4a )
by Nicolas
07:48 queued 06:51
created
src/Formatter.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;
6 6
 
Please login to merge, or discard this patch.
src/Filters/FileFilterIterator.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\Filters;
6 6
 
Please login to merge, or discard this patch.
src/FormattersDefinition.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;
6 6
 
Please login to merge, or discard this patch.
src/Application.php 1 patch
Spacing   +8 added lines, -8 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;
6 6
 
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
             $paths = $c['sources.path'];
112 112
 
113
-            if(! is_array($paths))
113
+            if( ! is_array($paths))
114 114
             {
115 115
                 $paths = [$paths];
116 116
             }
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
 
137 137
         $this['target.fileSystem.adapter'] = $this->factory(function(Container $c) {
138 138
 
139
-            if(! empty($c['target.path']))
139
+            if( ! empty($c['target.path']))
140 140
             {
141 141
                 $c['hydrator.allowNonDistFilesOverwrite'] = true;
142 142
 
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
             return new \Psr\Log\NullLogger();
210 210
         });
211 211
 
212
-        $this['formatter.provider'] = function (Container $c) {
212
+        $this['formatter.provider'] = function(Container $c) {
213 213
             return new ProfileProvider($c['profile']);
214 214
         };
215 215
 
@@ -223,19 +223,19 @@  discard block
 block discarded – undo
223 223
             return $hydrator;
224 224
         });
225 225
 
226
-        $this['generator.nameTranslator'] = function (Container $c) {
226
+        $this['generator.nameTranslator'] = function(Container $c) {
227 227
             $translator = new FilePrefixTranslator();
228 228
             $translator->changeMasterFile($c['configuration.masterFile']);
229 229
 
230 230
             return $translator;
231 231
         };
232 232
 
233
-        $this['generator.variableProvider'] = $this->factory(function (Container $c) {
233
+        $this['generator.variableProvider'] = $this->factory(function(Container $c) {
234 234
             $provider = new VariableProvider($c['parser']);
235 235
 
236 236
             $profile = $c['profile'];
237 237
             $options = $profile->getGeneratorOptions();
238
-            if(! isset($options['translator']) || $options['translator'] === 'prefix')
238
+            if( ! isset($options['translator']) || $options['translator'] === 'prefix')
239 239
             {
240 240
                 $provider->setNameTranslator($c['generator.nameTranslator']);
241 241
             }
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
             return $provider;
244 244
         });
245 245
 
246
-        $this['configurationFilesGenerator'] = function (Container $c) {
246
+        $this['configurationFilesGenerator'] = function(Container $c) {
247 247
             return new YamlGenerator($c['generate.sources.fileSystem'], $c['configuration'], $c['generator.variableProvider']);
248 248
         };
249 249
     }
Please login to merge, or discard this patch.
src/Logging/OutputInterfaceAdapter.php 2 patches
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\Logging;
6 6
 
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
     private function writeLevel($level): void
55 55
     {
56 56
         $message = str_pad(sprintf(
57
-           '[%s]',
58
-           strtoupper($level)
57
+            '[%s]',
58
+            strtoupper($level)
59 59
         ), 10);
60 60
 
61 61
         $this->output->write($this->colorizeMessage($level, $message));
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         if(isset($colors[$level]))
72 72
         {
73 73
             $message = sprintf(
74
-               '<%1$s>%2$s</%1$s>',
74
+                '<%1$s>%2$s</%1$s>',
75 75
                 'fg=' . $colors[$level],
76 76
                 $message
77 77
             );
Please login to merge, or discard this patch.
src/Logging/LoggerAware.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\Logging;
6 6
 
Please login to merge, or discard this patch.
src/Logging/OutputAware.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\Logging;
6 6
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         {
45 45
             if($verbosity <= $this->output->getVerbosity())
46 46
             {
47
-                if(! is_array($messages))
47
+                if( ! is_array($messages))
48 48
                 {
49 49
                     $messages = array($messages);
50 50
                 }
Please login to merge, or discard this patch.
src/FormatterProvider.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;
6 6
 
Please login to merge, or discard this patch.
src/Finder.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;
6 6
 
Please login to merge, or discard this patch.