Test Failed
Pull Request — master (#35)
by Zing
14:00
created
Severity
1
<?php
2
3
declare(strict_types=1);
4
5
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
6
use Symplify\EasyCodingStandard\ValueObject\Option;
7
use Symplify\EasyCodingStandard\ValueObject\Set\SetList;
8
9
return static function (ContainerConfigurator $containerConfigurator): void {
10
    $containerConfigurator->import(__DIR__ . '/vendor/zing/coding-standard/config/config.php');
11
    $parameters = $containerConfigurator->parameters();
12
    $parameters->set(
13
        Option::SETS,
14
        [
15
            SetList::PHP_70,
16
            SetList::PHP_71,
17
            SetList::DEAD_CODE,
0 ignored issues
show
Deprecated Code introduced by
The constant Symplify\EasyCodingStand...\Set\SetList::DEAD_CODE has been deprecated: ECS set DEAD_CODE from is deprecated. Use more advanced and precise Rector set https://github.com/rectorphp/rector/blob/master/config/set/dead-code.php instead ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

17
            /** @scrutinizer ignore-deprecated */ SetList::DEAD_CODE,

This class constant has been deprecated. The supplier of the class has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the constant will be removed from the class and what other constant to use instead.

Loading history...
18
            SetList::CLEAN_CODE,
19
            SetList::COMMON,
20
            SetList::PSR_12,
21
        ]
22
    );
23
    $parameters->set(
24
        Option::PATHS,
25
        [
26
            __DIR__ . '/config',
27
            __DIR__ . '/src',
28
            __DIR__ . '/tests',
29
            __DIR__ . '/changelog-linker.php',
30
            __DIR__ . '/ecs.php',
31
            __DIR__ . '/rector.php',
32
        ]
33
    );
34
};
35