diff --git a/Config/phpstan.neon b/Config/phpstan.neon index 87d64ec..cc329df 100755 --- a/Config/phpstan.neon +++ b/Config/phpstan.neon @@ -23,7 +23,7 @@ parameters: - */Sandbox/* - */Tools/* - */Logs/* - - *Karaka-Management/*/Karaka/* + - */MainRepository/* - *Test.php - *Routes.php - *Hooks.php diff --git a/Config/phpstan_autoloader.php b/Config/phpstan_autoloader.php index fcaf3c7..646fc89 100755 --- a/Config/phpstan_autoloader.php +++ b/Config/phpstan_autoloader.php @@ -12,11 +12,11 @@ if (\is_file(__DIR__ . '/../../tests/Autoloader.php')) { use tests\Autoloader; -if (\is_dir(__DIR__ . '/../../Karaka')) { - Autoloader::addPath(__DIR__ . '/../../Karaka/'); - Autoloader::addPath(__DIR__ . '/../../Karaka/Resources/'); - Autoloader::addPath(__DIR__ . '/../../Karaka/Resources/tcpdf/'); - Autoloader::addPath(__DIR__ . '/../../Karaka/Resources/Stripe/'); +if (\is_dir(__DIR__ . '/../../MainRepository')) { + Autoloader::addPath(__DIR__ . '/../../MainRepository/'); + Autoloader::addPath(__DIR__ . '/../../MainRepository/Resources/'); + Autoloader::addPath(__DIR__ . '/../../MainRepository/Resources/tcpdf/'); + Autoloader::addPath(__DIR__ . '/../../MainRepository/Resources/Stripe/'); } else { Autoloader::addPath(__DIR__ . '/../../Resources/'); Autoloader::addPath(__DIR__ . '/../../Resources/tcpdf/'); diff --git a/Config/rector.php b/Config/rector.php index a0e9a3a..b1f7f20 100644 --- a/Config/rector.php +++ b/Config/rector.php @@ -62,6 +62,7 @@ return static function (RectorConfig $rectorConfig) : void { $rectorConfig->skip([ $base . '/vendor', $base . '/Build', + $base . '/MainRepository', $base . '/Resources', SimplifyEmptyCheckOnEmptyArrayRector::class, FlipTypeControlToUseExclusiveTypeRector::class,