File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 88 '@PSR1 ' => true ,
99 '@PSR2 ' => true ,
1010 '@Symfony ' => true ,
11- 'psr4 ' => true ,
11+ 'psr_autoloading ' => true ,
1212 // custom rules
1313 'align_multiline_comment ' => ['comment_type ' => 'phpdocs_only ' ], // psr-5
1414 'phpdoc_to_comment ' => false ,
2121 'declare_equal_normalize ' => ['space ' => 'single ' ],
2222 'increment_style ' => ['style ' => 'post ' ],
2323 'list_syntax ' => ['syntax ' => 'short ' ],
24- 'no_short_echo_tag ' => true ,
24+ 'echo_tag_syntax ' => [ ' format ' => ' long ' ] ,
2525 'phpdoc_add_missing_param_annotation ' => ['only_untyped ' => false ],
2626 'phpdoc_align ' => false ,
2727 'phpdoc_no_empty_return ' => false ,
Original file line number Diff line number Diff line change 1717 "cakephp/chronos" : " ^2"
1818 },
1919 "require-dev" : {
20- "friendsofphp/php-cs-fixer" : " ^2.16 " ,
20+ "friendsofphp/php-cs-fixer" : " ^3 " ,
2121 "overtrue/phplint" : " ^2.3" ,
22- "phpstan/phpstan" : " 0.* " ,
22+ "phpstan/phpstan" : " ^1 " ,
2323 "phpunit/phpunit" : " ^9" ,
2424 "squizlabs/php_codesniffer" : " ^3.5"
2525 },
4444 " @phpstan" ,
4545 " @test:coverage"
4646 ],
47- "cs:check" : " php-cs-fixer fix --dry-run --format=txt --verbose --diff --diff-format=udiff -- config=.cs.php" ,
47+ "cs:check" : " php-cs-fixer fix --dry-run --format=txt --verbose --diff --config=.cs.php" ,
4848 "cs:fix" : " php-cs-fixer fix --config=.cs.php" ,
4949 "lint" : " phplint ./ --exclude=vendor --no-interaction --no-cache" ,
5050 "phpstan" : " phpstan analyse src --level=max -c phpstan.neon --no-progress --ansi" ,
Original file line number Diff line number Diff line change 1+ parameters :
2+ reportUnmatchedIgnoredErrors : false
3+ ignoreErrors :
4+ - ' #Cannot cast mixed to int. #'
5+ - ' #Cannot cast mixed to string. #'
6+ - ' #Cannot cast mixed to float. #'
7+ - ' #Parameter \ #1 \$time of class Cake\\Chronos\\Chronos constructor expects DateTimeInterface\|int\|string\|null , mixed given. #'
8+ - ' #Cannot access offset string on mixed. #'
You can’t perform that action at this time.
0 commit comments