Code Duplication    Length = 12-12 lines in 2 locations

src/Configuration.php 2 locations

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