| @@ 217-228 (lines=12) @@ | ||
| 214 | return $this->testsDirectory; |
|
| 215 | } |
|
| 216 | ||
| 217 | public function setBootstrapPath(string $bootstrapPath) : self |
|
| 218 | { |
|
| 219 | if (!file_exists($bootstrapPath)) { |
|
| 220 | throw new \InvalidArgumentException( |
|
| 221 | sprintf('Bootstrap path "%s" does not exist.', $bootstrapPath) |
|
| 222 | ); |
|
| 223 | } |
|
| 224 | ||
| 225 | $this->bootstrapPath = realpath($bootstrapPath); |
|
| 226 | ||
| 227 | return $this; |
|
| 228 | } |
|
| 229 | ||
| 230 | public function getBootstrapPath() : string |
|
| 231 | { |
|
| @@ 235-246 (lines=12) @@ | ||
| 232 | return $this->bootstrapPath; |
|
| 233 | } |
|
| 234 | ||
| 235 | public function setPhpunitPath(string $phpunitPath) : self |
|
| 236 | { |
|
| 237 | if (!file_exists($phpunitPath)) { |
|
| 238 | throw new \InvalidArgumentException( |
|
| 239 | sprintf('PHPUnit path "%s" does not exist.', $phpunitPath) |
|
| 240 | ); |
|
| 241 | } |
|
| 242 | ||
| 243 | $this->phpunitPath = realpath($phpunitPath); |
|
| 244 | ||
| 245 | return $this; |
|
| 246 | } |
|
| 247 | ||
| 248 | public function getPhpunitPath() : string |
|
| 249 | { |
|