Skip to content

Commit

Permalink
update PHPCS fixer config
Browse files Browse the repository at this point in the history
  • Loading branch information
lsmith77 committed May 22, 2021
1 parent ff0ad39 commit 13da3d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
file that was distributed with this source code.
HEADER;

return Config::create()
return (new Config())
->setUsingCache(true)
->setRiskyAllowed(true)
->setFinder((new Finder())->in(__DIR__))
Expand Down Expand Up @@ -57,7 +57,7 @@
'strategy' => 'no_multi_line',
],
'no_php4_constructor' => true,
'no_short_echo_tag' => true,
'echo_tag_syntax' => true,
'no_unreachable_default_argument_value' => true,
'no_useless_else' => true,
'no_useless_return' => true,
Expand Down Expand Up @@ -85,7 +85,7 @@
'php_unit_test_class_requires_covers' => true,
'phpdoc_order' => true,
'phpdoc_summary' => false,
'psr4' => true,
'psr_autoloading' => true,
'semicolon_after_instruction' => true,
'strict_comparison' => true,
'strict_param' => true,
Expand Down

0 comments on commit 13da3d7

Please sign in to comment.