mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-17 22:38:40 +00:00
fix config
This commit is contained in:
parent
e6897dbe86
commit
6b33c87ddf
|
|
@ -23,7 +23,7 @@ parameters:
|
|||
- */Sandbox/*
|
||||
- */Tools/*
|
||||
- */Logs/*
|
||||
- *Karaka-Management/*/Karaka/*
|
||||
- */MainRepository/*
|
||||
- *Test.php
|
||||
- *Routes.php
|
||||
- *Hooks.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/');
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ return static function (RectorConfig $rectorConfig) : void {
|
|||
$rectorConfig->skip([
|
||||
$base . '/vendor',
|
||||
$base . '/Build',
|
||||
$base . '/MainRepository',
|
||||
$base . '/Resources',
|
||||
SimplifyEmptyCheckOnEmptyArrayRector::class,
|
||||
FlipTypeControlToUseExclusiveTypeRector::class,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user