mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
55cb627074
7b8f4deae2
[CodeQuality] Skip FixClassCaseSensitivityNameRector on function name exists (#660)
22 lines
1.1 KiB
PHP
22 lines
1.1 KiB
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20210813;
|
|
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
|
|
$services = $containerConfigurator->services();
|
|
$services->defaults()->public()->autowire()->autoconfigure();
|
|
$services->load('Rector\\', __DIR__ . '/../packages')->exclude([
|
|
__DIR__ . '/../packages/*/{ValueObject,Contract,Exception}',
|
|
__DIR__ . '/../packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php',
|
|
__DIR__ . '/../packages/Testing/PHPUnit',
|
|
__DIR__ . '/../packages/BetterPhpDocParser/PhpDoc',
|
|
__DIR__ . '/../packages/Caching/Cache.php',
|
|
__DIR__ . '/../packages/NodeTypeResolver/NodeVisitor/FileNodeVisitor.php',
|
|
// used in PHPStan
|
|
__DIR__ . '/../packages/NodeTypeResolver/Reflection/BetterReflection/RectorBetterReflectionSourceLocatorFactory.php',
|
|
__DIR__ . '/../packages/NodeTypeResolver/Reflection/BetterReflection/SourceLocatorProvider/DynamicSourceLocatorProvider.php',
|
|
]);
|
|
};
|