diff --git a/bin/roave-infection-static-analysis-plugin b/bin/roave-infection-static-analysis-plugin index 5fda677..09b91cb 100755 --- a/bin/roave-infection-static-analysis-plugin +++ b/bin/roave-infection-static-analysis-plugin @@ -30,9 +30,9 @@ use function var_export; (static function (): void { $projectPath = (static function () : string { $projectDirectoryCandidates = [ - 'current-working-directory' => getcwd(), - 'installed-as-composer-dependency' => __DIR__ . '/../../..', + 'installed-as-composer-dependency' => __DIR__ . '/../../../..', 'installed-as-project' => __DIR__ . '/..', + 'current-working-directory' => getcwd(), ]; foreach ($projectDirectoryCandidates as $candidatePath) {