Completed
Push — master ( 4a176f...633e5a )
by Andrii
09:20 queued 07:27
created
src/controllers/ScrutinizerPythonController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -18,20 +18,20 @@
 block discarded – undo
18 18
 {
19 19
     public function actionUploadCoverage()
20 20
     {
21
-        return $this->runActions(['get-ocular', 'run-ocular']);
21
+        return $this->runActions([ 'get-ocular', 'run-ocular' ]);
22 22
     }
23 23
 
24 24
     public function actionGetOcular()
25 25
     {
26
-        if (!$this->execCode('python',['-c', 'import scrutinizer.ocular'])) {
26
+        if (!$this->execCode('python', [ '-c', 'import scrutinizer.ocular' ])) {
27 27
             return 0;
28 28
         }
29 29
 
30
-        return $this->passthru('pip', ['install', 'scrutinizer-ocular']);
30
+        return $this->passthru('pip', [ 'install', 'scrutinizer-ocular' ]);
31 31
     }
32 32
 
33 33
     public function actionRunOcular()
34 34
     {
35
-        return $this->passthru('ocular', ['--data-file', '.coverage']);
35
+        return $this->passthru('ocular', [ '--data-file', '.coverage' ]);
36 36
     }
37 37
 }
Please login to merge, or discard this patch.