Passed
Push — feature/ECO-807-travis-ci ( 8dbb38 )
by Andrey
05:54
created
merge-composer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 const PATH_REQUIRE = 'require';
4
-if (count($argv)<4) {
5
-    echo 'Not enough arguments!'.PHP_EOL;
4
+if (count($argv) < 4) {
5
+    echo 'Not enough arguments!' . PHP_EOL;
6 6
     die(1);
7 7
 }
8 8
 $fromComposer = json_decode(file_get_contents($argv[1]), true);
@@ -15,4 +15,4 @@  discard block
 block discarded – undo
15 15
     }
16 16
 }
17 17
 
18
-file_put_contents($argv[3], json_encode($fromComposer).PHP_EOL);
18
+file_put_contents($argv[3], json_encode($fromComposer) . PHP_EOL);
Please login to merge, or discard this patch.