1 | <?php |
||
10 | class PHPUnitBinFile |
||
11 | { |
||
12 | // I'm using Paraunit as a vendor package |
||
13 | const PHPUNIT_RELPATH_FOR_VENDOR = '/../../../../../phpunit/phpunit/phpunit'; |
||
14 | // I'm using Paraunit standalone (developing) |
||
15 | const PHPUNIT_RELPATH_FOR_STANDALONE = '/../../../vendor/phpunit/phpunit/phpunit'; |
||
16 | |||
17 | /** @var string Realpath to PHPUnit bin location */ |
||
18 | private $phpUnitBin; |
||
19 | |||
20 | /** |
||
21 | * PHPUnitBinFile constructor. |
||
22 | * @throws \RuntimeException If PHPUnit is not found |
||
23 | */ |
||
24 | public function __construct() |
||
48 | |||
49 | public function getPhpUnitBin(): string |
||
53 | } |
||
54 |