mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 09:50:49 +00:00
c4794ecd48
5cd60b2607
Add rector/rector-php-parser to require in composer.json (#2932)
12 lines
431 B
PHP
12 lines
431 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202209;
|
|
|
|
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']);
|
|
};
|