File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ return PhpCsFixer\Config::create()
20
20
->setRiskyAllowed (true )
21
21
->setRules ([
22
22
'@DoctrineAnnotation ' => true ,
23
+ '@PHP71Migration ' => true ,
24
+ '@PHP71Migration:risky ' => true ,
23
25
'@PHPUnit60Migration:risky ' => true ,
24
26
'@Symfony ' => true ,
25
27
'@Symfony:risky ' => true ,
@@ -33,7 +35,7 @@ return PhpCsFixer\Config::create()
33
35
'braces ' => [
34
36
'allow_single_line_closure ' => true ,
35
37
],
36
- 'declare_strict_types ' => true ,
38
+ 'compact_nullable_typehint ' => true ,
37
39
'doctrine_annotation_array_assignment ' => [
38
40
'operator ' => '= ' ,
39
41
],
@@ -76,7 +78,7 @@ return PhpCsFixer\Config::create()
76
78
'phpdoc_trim_consecutive_blank_line_separation ' => true ,
77
79
'strict_comparison ' => true ,
78
80
'strict_param ' => true ,
79
- 'ternary_to_null_coalescing ' => true ,
81
+ 'void_return ' => false , // BC breaks; to be done in API Platform 3.0
80
82
])
81
83
->setFinder ($ finder )
82
84
;
You can’t perform that action at this time.
0 commit comments