Passed
Push — nln-php7 ( 5c4f20...6ce259 )
by Nicolas
03:34
created
src/Console/Diff.php 2 patches
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\Console;
6 6
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         $table->enableFormattingTags()
48 48
             ->setHeaders(array($environment1, $environment2))
49 49
             ->displayKeys()
50
-            ->setValueRenderingFunction(function($value){
50
+            ->setValueRenderingFunction(function($value) {
51 51
                 return $this->formatValue($value);
52 52
             });
53 53
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $table->enableFormattingTags()
46 46
             ->setHeaders(array($environment1, $environment2))
47 47
             ->displayKeys()
48
-            ->setValueRenderingFunction(function($value){
48
+            ->setValueRenderingFunction(function($value) {
49 49
                 return $this->formatValue($value);
50 50
             });
51 51
 
Please login to merge, or discard this patch.
src/Console/Rollback.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\Console;
6 6
 
Please login to merge, or discard this patch.
src/Console/Hydrate.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\Console;
6 6
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $unusedVariables = $processor->getUnusedVariables();
38 38
 
39
-        if(! empty($unusedVariables))
39
+        if( ! empty($unusedVariables))
40 40
         {
41 41
             $logger = $this->app['logger'];
42 42
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     {
54 54
         $unvaluedVariables = $processor->getUnvaluedVariables();
55 55
 
56
-        if(! empty($unvaluedVariables))
56
+        if( ! empty($unvaluedVariables))
57 57
         {
58 58
             $logger = $this->app['logger'];
59 59
 
Please login to merge, or discard this patch.
src/Console/Generate.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\Console;
6 6
 
Please login to merge, or discard this patch.
src/Console/Display.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
         foreach($values as $variable => $value)
62 62
         {
63 63
             $this->output->writeln(sprintf(
64
-               '<fg=cyan>%s</fg=cyan> = %s',
64
+                '<fg=cyan>%s</fg=cyan> = %s',
65 65
                 $variable,
66 66
                 $this->formatValue($value)
67 67
             ));
Please login to merge, or discard this 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\Console;
6 6
 
Please login to merge, or discard this patch.
src/Command.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
         }
117 117
 
118 118
         $this->output->writeln(
119
-           $this->getLogo($this->output->isDecorated())
119
+            $this->getLogo($this->output->isDecorated())
120 120
         );
121 121
     }
122 122
 
Please login to merge, or discard this 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.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -130,7 +130,7 @@
 block discarded – undo
130 130
 ...@@...@@..
131 131
 ...@@....@@.
132 132
 
133
-ASCIIART;
133
+asciiart;
134 134
 
135 135
         $background = 'fg=magenta';
136 136
         $text = 'fg=white';
Please login to merge, or discard this patch.
src/Console.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/ProfileReader.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         catch(ParseException $e)
57 57
         {
58 58
             throw new \RuntimeException(sprintf(
59
-               'Error while parsing profile : %s',
59
+                'Error while parsing profile : %s',
60 60
                 $e->getMessage()
61 61
             ));
62 62
         }
Please login to merge, or discard this 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;
6 6
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
         foreach(array_keys($this->attributes) as $name)
69 69
         {
70
-            if(! isset($values[$name]))
70
+            if( ! isset($values[$name]))
71 71
             {
72 72
                 continue;
73 73
             }
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
             return true;
199 199
         }
200 200
 
201
-        if(! $parameterValidators[$parameter]($value))
201
+        if( ! $parameterValidators[$parameter]($value))
202 202
         {
203 203
             throw new \RuntimeException('Paramater %s format is invalid');
204 204
         }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -191,8 +191,7 @@
 block discarded – undo
191 191
         if(
192 192
             ! array_key_exists($parameter, $parameterValidators)
193 193
             || ! $parameterValidators[$parameter] instanceof \Closure
194
-        )
195
-        {
194
+        ) {
196 195
             return true;
197 196
         }
198 197
 
Please login to merge, or discard this patch.
src/Configuration.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.