anonymous()
last analyzed

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 7
c 0
b 0
f 0
nc 1
nop 1
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
The assignment to $parameters is dead and can be removed.
Loading history...
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