From 8d33c9dc8937c7d7c26ca24c57bc829fcbb26035 Mon Sep 17 00:00:00 2001 From: Luke Downing Date: Fri, 10 Feb 2023 12:48:26 +0000 Subject: [PATCH] WIP --- src/Plugins/Parallel/Handlers/Laravel.php | 3 --- src/Repositories/TestRepository.php | 14 -------------- 2 files changed, 17 deletions(-) diff --git a/src/Plugins/Parallel/Handlers/Laravel.php b/src/Plugins/Parallel/Handlers/Laravel.php index e188d386..665494fa 100644 --- a/src/Plugins/Parallel/Handlers/Laravel.php +++ b/src/Plugins/Parallel/Handlers/Laravel.php @@ -5,9 +5,7 @@ declare(strict_types=1); namespace Pest\Plugins\Parallel\Handlers; use Composer\InstalledVersions; -use Illuminate\Support\Facades\App; use Illuminate\Testing\ParallelRunner; -use NunoMaduro\Collision\Adapters\Laravel\Commands\TestCommand; use ParaTest\Options; use ParaTest\RunnerInterface; use Pest\Contracts\Plugins\HandlesArguments; @@ -16,7 +14,6 @@ use Pest\Plugins\Parallel\Paratest\WrapperRunner; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -use Symfony\Component\Process\PhpProcess; /** * @internal diff --git a/src/Repositories/TestRepository.php b/src/Repositories/TestRepository.php index c3b9e699..d505b883 100644 --- a/src/Repositories/TestRepository.php +++ b/src/Repositories/TestRepository.php @@ -112,20 +112,6 @@ final class TestRepository $this->testCaseMethodFilters[] = $filter; } - /** - * @param class-string $filter - */ - public function hasTestCaseMethodFilter(string $filter): bool - { - foreach ($this->testCaseMethodFilters as $testCaseMethodFilter) { - if ($testCaseMethodFilter instanceof $filter) { - return true; - } - } - - return false; - } - /** * Gets the test case factory from the given filename. */