mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-12 11:30:31 +01:00
16 lines
494 B
PHP
16 lines
494 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Symfony\Rector\ClassMethod\ConsoleExecuteReturnIntRector;
|
|
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
|
|
|
|
# https://github.com/symfony/symfony/blob/4.4/UPGRADE-4.4.md
|
|
|
|
return static function (ContainerConfigurator $containerConfigurator): void {
|
|
$services = $containerConfigurator->services();
|
|
|
|
# https://github.com/symfony/symfony/pull/33775
|
|
$services->set(ConsoleExecuteReturnIntRector::class);
|
|
};
|