100% of 28OPs |
100% of 4Lines |
50% of 2Branches |
100% of 2Paths |
Method | OPs | OPs % | Lines | Line % | Branches | Branches % | Paths | Path % |
---|---|---|---|---|---|---|---|---|
mageekguy\atoum\report\fields\runner\failures\execute\macos\phpstorm::__construct() | 15 | 100% | 3 | 100% | 1 | 0% | 1 | 100% |
mageekguy\atoum\report\fields\runner\failures\execute\macos\phpstorm::setCommand() | 13 | 100% | 1 | 100% | 1 | 100% | 1 | 100% |
# | |
---|---|
1 |
<?php |
2 |
|
3 |
namespace mageekguy\atoum\report\fields\runner\failures\execute\macos; |
4 |
|
5 |
use |
6 |
mageekguy\atoum, |
7 |
mageekguy\atoum\locale, |
8 |
mageekguy\atoum\adapter, |
9 |
mageekguy\atoum\report\fields\runner\failures |
10 |
; |
11 |
|
12 |
class phpstorm extends failures\execute |
13 |
{ |
14 |
public function __construct($command = null)100% |
15 |
{ |
16 |
$command = $command ?: '/Applications/PhpStorm.app/Contents/MacOS/webide'; |
17 |
|
18 |
parent::__construct($command); |
19 |
} |
20 |
|
21 |
public function setCommand($command)100% |
22 |
{ |
23 |
return parent::setCommand($command . ' --line %2$d %1$s &> /dev/null &'); |
24 |
} |
25 |
} |