rector/vendor/rector/rector-php-parser/config/config.php

12 lines
431 B
PHP

<?php
declare (strict_types=1);
namespace RectorPrefix202302;
use Rector\Config\RectorConfig;
return static function (RectorConfig $rectorConfig) : void {
$services = $rectorConfig->services();
$services->defaults()->public()->autowire()->autoconfigure();
$services->load('Rector\\PhpParser\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/Set', __DIR__ . '/../src/Rector', __DIR__ . '/../src/ValueObject']);
};