1 | <?php |
||
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | use Rector\Php74\Rector\Property\TypedPropertyRector; |
||
6 | use Rector\Set\ValueObject\SetList; |
||
7 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
||
8 | |||
9 | return static function (ContainerConfigurator $containerConfigurator): void { |
||
10 | $containerConfigurator->import(SetList::PHP_80); |
||
11 | // get parameters |
||
12 | $parameters = $containerConfigurator->parameters(); |
||
0 ignored issues
–
show
Unused Code
introduced
by
![]() |
|||
13 | |||
14 | // Define what rule sets will be applied |
||
15 | $containerConfigurator->import(SetList::DEAD_CODE); |
||
16 | |||
17 | // get services (needed for register a single rule) |
||
18 | // $services = $containerConfigurator->services(); |
||
19 | |||
20 | // register a single rule |
||
21 | // $services->set(TypedPropertyRector::class); |
||
22 | }; |
||
23 |