Passed
Push — 4.x ( db19f6...38fd84 )
by Fabian
04:30
created
src/PhpMerge/PhpMerge.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
         $baseLines = Line::createArray(
68 68
             array_map(
69
-                function ($l) {
69
+                function($l) {
70 70
                     return [$l, 0];
71 71
                 },
72 72
                 self::splitStringByLines($base)
Please login to merge, or discard this patch.
src/PhpMerge/internal/Hunk.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     {
190 190
         return array_values(array_filter(
191 191
             $this->lines,
192
-            function (Line $line) {
192
+            function(Line $line) {
193 193
                 return $line->getType() === Line::REMOVED;
194 194
             }
195 195
         ));
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     {
205 205
         return array_values(array_filter(
206 206
             $this->lines,
207
-            function (Line $line) {
207
+            function(Line $line) {
208 208
                 return $line->getType() === Line::ADDED;
209 209
             }
210 210
         ));
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     public function getLinesContent()
219 219
     {
220 220
         return array_map(
221
-            function (Line $line) {
221
+            function(Line $line) {
222 222
                 return $line->getContent();
223 223
             },
224 224
             $this->getAddedLines()
Please login to merge, or discard this patch.