@@ -18,20 +18,20 @@ |
||
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 | } |