mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-08 07:38:41 +00:00
fix config
This commit is contained in:
parent
e6897dbe86
commit
6b33c87ddf
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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/');
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user