mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-05 14:28:40 +00:00
fix paths
This commit is contained in:
parent
e85338a0ff
commit
a36eadac5d
|
|
@ -21,6 +21,14 @@ return static function (RectorConfig $rectorConfig): void {
|
||||||
__DIR__ . '/Modules',
|
__DIR__ . '/Modules',
|
||||||
__DIR__ . '/phpOMS',
|
__DIR__ . '/phpOMS',
|
||||||
]);
|
]);
|
||||||
|
} elseif (\is_dir(__DIR__ . '/../../phpOMS')) {
|
||||||
|
$rectorConfig->paths([
|
||||||
|
__DIR__ . '/Model',
|
||||||
|
__DIR__ . '/Modules',
|
||||||
|
__DIR__ . '/phpOMS',
|
||||||
|
]);
|
||||||
|
} elseif (\is_dir(__DIR__ . '/../../tests')) {
|
||||||
|
$rectorConfig->paths([__DIR__ . '/../..']);
|
||||||
} else {
|
} else {
|
||||||
$rectorConfig->paths([__DIR__]);
|
$rectorConfig->paths([__DIR__]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user