Completed
Push — master ( 801856...d50fae )
by Joshua
02:18
created
bin/parse-manifest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2
-chdir(__DIR__ . '/../');
2
+chdir(__DIR__.'/../');
3 3
 $fallbackUrl = 'https://github.com/box-project/box2/releases/download/2.6.0/box-2.6.0.phar';
4 4
 
5
-if (! isset($argv[1]) || ! is_file($argv[1])) {
5
+if (!isset($argv[1]) || !is_file($argv[1])) {
6 6
     return $fallbackUrl;
7 7
 }
8 8
 
9 9
 $manifestJson = file_get_contents($argv[1]);
10 10
 $files = json_decode($manifestJson, true);
11 11
 
12
-if (! is_array($files)) {
12
+if (!is_array($files)) {
13 13
     echo $fallbackUrl;
14 14
     exit(0);
15 15
 }
16 16
 
17 17
 foreach ($files as $file) {
18
-    if (! is_array($file) || ! isset($file['version'])) {
18
+    if (!is_array($file) || !isset($file['version'])) {
19 19
         continue;
20 20
     }
21 21
 
Please login to merge, or discard this patch.