1 | <?php |
||
2 | |||
3 | return PhpCsFixer\Config::create() |
||
0 ignored issues
–
show
|
|||
4 | ->setRiskyAllowed(true) |
||
5 | ->setRules([ |
||
6 | '@PSR2' => true, |
||
7 | '@Symfony' => true, |
||
8 | 'header_comment' => ['header' => "Copyright Humbly Arrogant Ltd 2020-2021, all rights reserved."], |
||
9 | 'visibility_required' => ['property', 'method', 'const'], |
||
10 | 'list_syntax' => ['syntax' => 'short'], |
||
11 | 'array_syntax' => ['syntax' => 'short'], |
||
12 | 'declare_strict_types' => true, |
||
13 | ]) |
||
14 | ->setFinder( |
||
15 | PhpCsFixer\Finder::create()->in(__DIR__) |
||
16 | ) |
||
17 | ; |
||
18 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.