Code Duplication    Length = 12-12 lines in 2 locations

src/Configuration.php 2 locations

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