Completed
Push — master ( 7c373b...4a176f )
by Andrii
07:48
created
src/controllers/ScrutinizerController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 {
19 19
     public function actionUploadCoverage()
20 20
     {
21
-        return $this->runActions(['wget-ocular', 'run-ocular']);
21
+        return $this->runActions([ 'wget-ocular', 'run-ocular' ]);
22 22
     }
23 23
 
24 24
     public function actionWgetOcular()
@@ -32,6 +32,6 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function actionRunOcular()
34 34
     {
35
-        return $this->passthru('ocular', ['code-coverage:upload', '--format=php-clover', 'coverage.clover']);
35
+        return $this->passthru('ocular', [ 'code-coverage:upload', '--format=php-clover', 'coverage.clover' ]);
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
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'], true)) {
26
+        if (!$this->execCode('python', [ '-c', 'import scrutinizer.ocular' ], true)) {
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.