File tree Expand file tree Collapse file tree 3 files changed +4
-245
lines changed Expand file tree Collapse file tree 3 files changed +4
-245
lines changed Original file line number Diff line number Diff line change 13
13
new NetteCodingStandard \Fixer \Basic \CurlyBracesPositionFixer ,
14
14
new NetteCodingStandard \Fixer \ClassNotation \ClassAndTraitVisibilityRequiredFixer ,
15
15
new NetteCodingStandard \Fixer \FunctionNotation \MethodArgumentSpaceFixer ,
16
- new NetteCodingStandard \Fixer \FunctionNotation \FunctionDeclarationFixer ,
17
16
]);
18
17
$ config ->setParallelConfig (PhpCsFixer \Runner \Parallel \ParallelConfigFactory::detect ());
19
18
$ config ->registerCustomFixers (new PhpCsFixerCustomFixers \Fixers );
Original file line number Diff line number Diff line change 23
23
'declare_parentheses ' => true ,
24
24
// There must not be more than one statement per line
25
25
'no_multiple_statements_per_line ' => true ,
26
+ // Spaces should be properly placed in a function declaration.
27
+ 'function_declaration ' => [
28
+ 'closure_fn_spacing ' => 'none ' ,
29
+ ],
26
30
27
31
28
32
// overriden rules
37
41
'method_argument_space ' => false ,
38
42
'Nette/method_argument_space ' => ['on_multiline ' => 'ensure_fully_multiline ' ],
39
43
40
- // Spaces should be properly placed in a function declaration.
41
- 'function_declaration ' => false ,
42
- 'Nette/function_declaration ' => true ,
43
-
44
44
'visibility_required ' => false ,
45
45
'Nette/class_and_trait_visibility_required ' => true ,
46
46
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments