mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 09:50:49 +00:00
d62e039ac8
61709a198d
[PHPStan] Update to PHPStan 0.12.98 (#826)
14 lines
742 B
PHP
14 lines
742 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20210904;
|
|
|
|
use Rector\DependencyInjection\Rector\Class_\ActionInjectionToConstructorInjectionRector;
|
|
use Rector\DependencyInjection\Rector\Variable\ReplaceVariableByPropertyFetchRector;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
return static function (\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator $containerConfigurator) : void {
|
|
$services = $containerConfigurator->services();
|
|
$services->set(\Rector\DependencyInjection\Rector\Class_\ActionInjectionToConstructorInjectionRector::class);
|
|
$services->set(\Rector\DependencyInjection\Rector\Variable\ReplaceVariableByPropertyFetchRector::class);
|
|
};
|