Completed
Push — master ( 56185f...c80cc1 )
by Scott
13s
created
tests/Outputs/PhpcsTest.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,8 +17,8 @@  discard block
 block discarded – undo
17 17
         $this->assertJsonStringEqualsJsonString($expected, $report);
18 18
     }
19 19
 
20
-   public function testFailedOutput()
21
-   {
20
+    public function testFailedOutput()
21
+    {
22 22
         $output = new Phpcs();
23 23
         ob_start();
24 24
         $output->output($this->getFailing(), 80, 100);
@@ -59,6 +59,6 @@  discard block
 block discarded – undo
59 59
                 },
60 60
             "totals":{"errors":2,"fixable":0,"warnings":0}}';
61 61
         $this->assertJsonStringEqualsJsonString($expected, $report);
62
-   }
62
+    }
63 63
 
64 64
 }
Please login to merge, or discard this patch.
src/Outputs/Json.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@
 block discarded – undo
20 20
         $output = (object) [
21 21
             'coverage' => number_format($percent, 2),
22 22
             'status' => $percent >= $minimumPercent ?
23
-                'Passed':
24
-                'Failed',
23
+                'Passed' : 'Failed',
25 24
             'violations' => $violations
26 25
         ];
27 26
         echo json_encode($output) . "\n";
Please login to merge, or discard this patch.