mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-01-23 20:39:43 -06:00
17 lines
592 B
PHP
17 lines
592 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Set\ValueObject\SetList;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
// here we can define, what sets of rules will be applied
|
|
// tip: use "SetList" class to autocomplete sets
|
|
// $containerConfigurator->import(SetList::CODING_STYLE);
|
|
|
|
// register single rule
|
|
$services = $containerConfigurator->services();
|
|
$services->set(Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector::class);
|
|
};
|