Completed
Push — master ( ae11cf...8eec5e )
by Dave
16s queued 12s
created
example/eslint2sarb.php 1 patch
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,10 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 $inputData = stream_get_contents(STDIN);
4
-if ($inputData === false) die("Could not read input");
4
+if ($inputData === false) {
5
+    die("Could not read input");
6
+}
5 7
 
6 8
 $asJson = json_decode($inputData, true);
7
-if (!is_array($asJson)) die ("Could not parse JSON");
9
+if (!is_array($asJson)) {
10
+    die ("Could not parse JSON");
11
+}
8 12
 
9 13
 $issues = [];
10 14
 
Please login to merge, or discard this patch.