Completed
Push — 2.x ( 8cf368...66b52d )
by Fabian
25:37 queued 10:39
created
src/PhpMerge/MergeConflict.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
      */
153 153
     private static function fixEOL(array $lines)
154 154
     {
155
-        $ltrim = function ($line) {
155
+        $ltrim = function($line) {
156 156
             return rtrim($line, "\n");
157 157
         };
158 158
         return array_map($ltrim, $lines);
Please login to merge, or discard this patch.
src/PhpMerge/internal/PhpMergeBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
     protected static function preMergeAlter($text) : string
78 78
     {
79 79
         // Append new lines so that conflicts at the end of the text work.
80
-        return $text . "\nthe\nend";
80
+        return $text."\nthe\nend";
81 81
     }
82 82
 
83 83
     /**
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
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
     {
204 204
         return array_values(array_filter(
205 205
             $this->lines,
206
-            function (Line $line) {
206
+            function(Line $line) {
207 207
                 return $line->getType() == Line::REMOVED;
208 208
             }
209 209
         ));
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
     {
219 219
         return array_values(array_filter(
220 220
             $this->lines,
221
-            function (Line $line) {
221
+            function(Line $line) {
222 222
                 return $line->getType() == Line::ADDED;
223 223
             }
224 224
         ));
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
     public function getLinesContent()
233 233
     {
234 234
         return array_map(
235
-            function (Line $line) {
235
+            function(Line $line) {
236 236
                 return $line->getContent();
237 237
             },
238 238
             $this->getAddedLines()
Please login to merge, or discard this patch.
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.