From 7378fb35f79a784ad784226d2d43dba96bb52d72 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Mon, 10 Nov 2025 00:26:39 +0900 Subject: [PATCH] Fix rector-migrate.php to allow user-specified paths Remove hardcoded withPaths() configuration that pointed to vendor directory. Users now specify their project paths via command line: vendor/bin/rector process src --config=vendor/ray/psr-cache-module/rector-migrate.php --- rector-migrate.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rector-migrate.php b/rector-migrate.php index ab08acc..b6c51c3 100644 --- a/rector-migrate.php +++ b/rector-migrate.php @@ -17,10 +17,6 @@ * vendor/bin/rector process src --config=vendor/ray/psr-cache-module/rector-migrate.php */ return RectorConfig::configure() - ->withPaths([ - __DIR__ . '/src', - __DIR__ . '/tests', - ]) ->withConfiguredRule( AnnotationToAttributeRector::class, [