Skip to content

Commit 7378fb3

Browse files
committed
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
1 parent e910db9 commit 7378fb3

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

rector-migrate.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
* vendor/bin/rector process src --config=vendor/ray/psr-cache-module/rector-migrate.php
1818
*/
1919
return RectorConfig::configure()
20-
->withPaths([
21-
__DIR__ . '/src',
22-
__DIR__ . '/tests',
23-
])
2420
->withConfiguredRule(
2521
AnnotationToAttributeRector::class,
2622
[

0 commit comments

Comments
 (0)