File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
@license https://github.com/hyperf/nano/blob/master/LICENSE
10
10
EOF;
11
11
12
- return PhpCsFixer \Config:: create ( )
12
+ return ( new PhpCsFixer \Config () )
13
13
->setRiskyAllowed (true )
14
14
->setRules ([
15
15
'@PSR2 ' => true ,
16
16
'@Symfony ' => true ,
17
17
'@DoctrineAnnotation ' => true ,
18
18
'@PhpCsFixer ' => true ,
19
19
'header_comment ' => [
20
- 'commentType ' => 'PHPDoc ' ,
20
+ 'comment_type ' => 'PHPDoc ' ,
21
21
'header ' => $ header ,
22
22
'separate ' => 'none ' ,
23
23
'location ' => 'after_declare_strict ' ,
Original file line number Diff line number Diff line change 29
29
"hyperf/utils" : " ^2.0.0"
30
30
},
31
31
"require-dev" : {
32
- "friendsofphp/php-cs-fixer" : " ^2.14 " ,
32
+ "friendsofphp/php-cs-fixer" : " ^3.0 " ,
33
33
"hyperf/crontab" : " ^2.0.0" ,
34
34
"hyperf/db" : " ^2.0.0" ,
35
35
"hyperf/guzzle" : " ^2.0.0" ,
You can’t perform that action at this time.
0 commit comments