| @@ 184-195 (lines=12) @@ | ||
| 181 | return $this->testsDirectory; |
|
| 182 | } |
|
| 183 | ||
| 184 | public function setBootstrapPath(string $bootstrapPath) : self |
|
| 185 | { |
|
| 186 | if (!file_exists($bootstrapPath)) { |
|
| 187 | throw new \InvalidArgumentException( |
|
| 188 | sprintf('Bootstrap path "%s" does not exist.', $bootstrapPath) |
|
| 189 | ); |
|
| 190 | } |
|
| 191 | ||
| 192 | $this->bootstrapPath = realpath($bootstrapPath); |
|
| 193 | ||
| 194 | return $this; |
|
| 195 | } |
|
| 196 | ||
| 197 | public function getBootstrapPath() : string |
|
| 198 | { |
|
| @@ 202-213 (lines=12) @@ | ||
| 199 | return $this->bootstrapPath; |
|
| 200 | } |
|
| 201 | ||
| 202 | public function setPhpunitPath(string $phpunitPath) : self |
|
| 203 | { |
|
| 204 | if (!file_exists($phpunitPath)) { |
|
| 205 | throw new \InvalidArgumentException( |
|
| 206 | sprintf('PHPUnit path "%s" does not exist.', $phpunitPath) |
|
| 207 | ); |
|
| 208 | } |
|
| 209 | ||
| 210 | $this->phpunitPath = realpath($phpunitPath); |
|
| 211 | ||
| 212 | return $this; |
|
| 213 | } |
|
| 214 | ||
| 215 | public function getPhpunitPath() : string |
|
| 216 | { |
|