Passed
Push — nln-php7 ( 12eaac )
by Nicolas
05:28
created
src/Karma/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/Karma/ConfigurableProcessor.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/Karma/Formatters/Raw.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\Formatters;
6 6
 
Please login to merge, or discard this patch.
src/Karma/Formatters/Rules.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\Formatters;
6 6
 
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     {
52 52
         if($value === '<string>')
53 53
         {
54
-            $result = function ($value) use ($result) {
54
+            $result = function($value) use ($result) {
55 55
                 return str_replace('<string>', $value, $result);
56 56
             };
57 57
         }
Please login to merge, or discard this patch.
src/Karma/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/Karma/Configuration/Parser/GroupParser.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\Parser;
6 6
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
 
107 107
     private function hasDuplicatedValues(array $values)
108 108
     {
109
-        $duplicatedValues = array_filter(array_count_values($values), function ($counter) {
109
+        $duplicatedValues = array_filter(array_count_values($values), function($counter) {
110 110
             return $counter !== 1;
111 111
         });
112 112
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
         $errors = array_intersect($allEnvironments, array_keys($this->groups));
154 154
 
155
-        if(! empty($errors))
155
+        if( ! empty($errors))
156 156
         {
157 157
             throw new \RuntimeException(sprintf(
158 158
                'Error : a group can not be part of another group (%s)',
Please login to merge, or discard this patch.
src/Karma/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/Karma/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/Karma/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.