fix config

This commit is contained in:
Dennis Eichhorn 2023-09-25 11:03:38 +00:00
parent e6897dbe86
commit 6b33c87ddf
3 changed files with 7 additions and 6 deletions

View File

@ -23,7 +23,7 @@ parameters:
- */Sandbox/* - */Sandbox/*
- */Tools/* - */Tools/*
- */Logs/* - */Logs/*
- *Karaka-Management/*/Karaka/* - */MainRepository/*
- *Test.php - *Test.php
- *Routes.php - *Routes.php
- *Hooks.php - *Hooks.php

View File

@ -12,11 +12,11 @@ if (\is_file(__DIR__ . '/../../tests/Autoloader.php')) {
use tests\Autoloader; use tests\Autoloader;
if (\is_dir(__DIR__ . '/../../Karaka')) { if (\is_dir(__DIR__ . '/../../MainRepository')) {
Autoloader::addPath(__DIR__ . '/../../Karaka/'); Autoloader::addPath(__DIR__ . '/../../MainRepository/');
Autoloader::addPath(__DIR__ . '/../../Karaka/Resources/'); Autoloader::addPath(__DIR__ . '/../../MainRepository/Resources/');
Autoloader::addPath(__DIR__ . '/../../Karaka/Resources/tcpdf/'); Autoloader::addPath(__DIR__ . '/../../MainRepository/Resources/tcpdf/');
Autoloader::addPath(__DIR__ . '/../../Karaka/Resources/Stripe/'); Autoloader::addPath(__DIR__ . '/../../MainRepository/Resources/Stripe/');
} else { } else {
Autoloader::addPath(__DIR__ . '/../../Resources/'); Autoloader::addPath(__DIR__ . '/../../Resources/');
Autoloader::addPath(__DIR__ . '/../../Resources/tcpdf/'); Autoloader::addPath(__DIR__ . '/../../Resources/tcpdf/');

View File

@ -62,6 +62,7 @@ return static function (RectorConfig $rectorConfig) : void {
$rectorConfig->skip([ $rectorConfig->skip([
$base . '/vendor', $base . '/vendor',
$base . '/Build', $base . '/Build',
$base . '/MainRepository',
$base . '/Resources', $base . '/Resources',
SimplifyEmptyCheckOnEmptyArrayRector::class, SimplifyEmptyCheckOnEmptyArrayRector::class,
FlipTypeControlToUseExclusiveTypeRector::class, FlipTypeControlToUseExclusiveTypeRector::class,