File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1414 "dealerdirect/phpcodesniffer-composer-installer" : " ^0.7.0" ,
1515 "escapestudios/symfony2-coding-standard" : " ^3.6" ,
1616 "phpmd/phpmd" : " ^2.6" ,
17- "slevomat/coding-standard" : " ^6.0 " ,
17+ "slevomat/coding-standard" : " ^7.0.1 " ,
1818 "squizlabs/php_codesniffer" : " ^3.4"
1919 },
2020 "autoload" : {
Original file line number Diff line number Diff line change 3333 declare(strict_types=1) (with an optional semi-colon terminator). -->
3434 <rule ref =" SlevomatCodingStandard.TypeHints.DeclareStrictTypes" >
3535 <properties >
36- <property name =" newlinesCountBetweenOpenTagAndDeclare" value =" 1" />
36+ <property name =" linesCountBeforeDeclare" value =" 0" />
37+ <property name =" linesCountAfterDeclare" value =" 1" />
3738 <property name =" spacesCountAroundEqualsSign" value =" 0" />
3839 </properties >
3940 </rule >
Original file line number Diff line number Diff line change @@ -18,14 +18,14 @@ PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
1818
1919
2020FILE: tests/incorrect/strict-types.php
21- ------------------------------------------------------------------------------------------
21+ ----------------------------------------------------------------------
2222FOUND 2 ERRORS AFFECTING 1 LINE
23- ------------------------------------------------------------------------------------------
24- 1 | ERROR | [x] Expected 1 newlines between PHP open tag and declare statement, found 0.
23+ ----------------------------------------------------------------------
24+ 1 | ERROR | [x] Expected 0 lines before declare statement, found 0.
2525 1 | ERROR | [x] Expected strict_types=1, found strict_types = 1.
26- ------------------------------------------------------------------------------------------
26+ ----------------------------------------------------------------------
2727PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY
28- ------------------------------------------------------------------------------------------
28+ ----------------------------------------------------------------------
2929
3030
3131FILE: tests/incorrect/type-hints.php
You can’t perform that action at this time.
0 commit comments