|
@@ 33-37 (lines=5) @@
|
| 30 |
|
return; |
| 31 |
|
} |
| 32 |
|
|
| 33 |
|
if (file_exists(__DIR__ . self::PHPUNIT_RELPATH_FOR_VENDOR)) { |
| 34 |
|
$this->phpUnitBin = realpath(__DIR__ . self::PHPUNIT_RELPATH_FOR_VENDOR); |
| 35 |
|
|
| 36 |
|
return; |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
if (file_exists(__DIR__ . self::PHPUNIT_RELPATH_FOR_STANDALONE)) { |
| 40 |
|
$this->phpUnitBin = realpath(__DIR__ . self::PHPUNIT_RELPATH_FOR_STANDALONE); |
|
@@ 39-43 (lines=5) @@
|
| 36 |
|
return; |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
if (file_exists(__DIR__ . self::PHPUNIT_RELPATH_FOR_STANDALONE)) { |
| 40 |
|
$this->phpUnitBin = realpath(__DIR__ . self::PHPUNIT_RELPATH_FOR_STANDALONE); |
| 41 |
|
|
| 42 |
|
return; |
| 43 |
|
} |
| 44 |
|
|
| 45 |
|
throw new \RuntimeException('PHPUnit bin not found'); |
| 46 |
|
} |