1 | <?php |
||
2 | /* |
||
3 | * Copyright (C) 2020 Jan Böhmer |
||
4 | * |
||
5 | * This program is free software: you can redistribute it and/or modify |
||
6 | * it under the terms of the GNU Affero General Public License as published |
||
7 | * by the Free Software Foundation, either version 3 of the License, or |
||
8 | * (at your option) any later version. |
||
9 | * |
||
10 | * This program is distributed in the hope that it will be useful, |
||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
13 | * GNU Affero General Public License for more details. |
||
14 | * |
||
15 | * You should have received a copy of the GNU Affero General Public License |
||
16 | * along with this program. If not, see <https://www.gnu.org/licenses/>. |
||
17 | */ |
||
18 | |||
19 | declare(strict_types=1); |
||
20 | |||
21 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
||
22 | use \Symplify\EasyCodingStandard\ValueObject\Option; |
||
23 | use Symplify\EasyCodingStandard\ValueObject\Set\SetList; |
||
24 | use Symplify\CodingStandard\Fixer\LineLength\LineLengthFixer; |
||
25 | |||
26 | return static function (ContainerConfigurator $containerConfigurator): void { |
||
27 | $parameters = $containerConfigurator->parameters(); |
||
28 | $parameters->set(Option::SETS, [ |
||
0 ignored issues
–
show
|
|||
29 | SetList::CLEAN_CODE, |
||
30 | SetList::PSR_12, |
||
31 | SetList::SYMFONY, |
||
32 | SetList::SYMPLIFY |
||
33 | ]); |
||
34 | |||
35 | $parameters->set(Option::PATHS, [ |
||
36 | __DIR__ . '/src', |
||
37 | __DIR__ . '/tests', |
||
38 | ]); |
||
39 | |||
40 | $parameters->set(Option::SKIP, [ |
||
41 | LineLengthFixer::class => null |
||
42 | ]); |
||
43 | }; |
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.