diff --git a/rector.php b/rector.php index 6bfb6bb..7d50267 100644 --- a/rector.php +++ b/rector.php @@ -6,6 +6,16 @@ use Rector\Set\ValueObject\LevelSetList; use Rector\Set\ValueObject\SetList; return static function (RectorConfig $rectorConfig): void { + /* + $rectorConfig->autoloadPaths([ + __DIR__ . '/conlite', + __DIR__ . '/conlib', + __DIR__ . '/setup', + ]); + */ + $rectorConfig->bootstrapFiles([ + __DIR__ . '/rector_cl_autoload.php', + ]); $rectorConfig->parallel(); $rectorConfig->paths([ __DIR__.'/conlite', diff --git a/rector_cl_autoload.php b/rector_cl_autoload.php new file mode 100644 index 0000000..f4eb718 --- /dev/null +++ b/rector_cl_autoload.php @@ -0,0 +1,13 @@ + [ + 'config' => dirname(__FILE__) . '/data/config/production/', + 'contenido' => dirname(__FILE__) . '/conlite/', + ], +]; + +cAutoload::initialize($cfg);