Skip to content
This repository has been archived by the owner on Nov 14, 2022. It is now read-only.

Commit

Permalink
update php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
xboston committed Feb 1, 2022
1 parent 7ce37d2 commit 94798b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.idea
.yarn
.vscode
.php_cs.cache
.php-cs-fixer.cache
.DS_Store
phplint.cache
test.php
12 changes: 6 additions & 6 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
return $config
->setRiskyAllowed(true)
->setRules(array(
'@PSR2' => true,
'strict_param' => true,
'declare_strict_types' => true,
'array_syntax' => ['syntax' => 'short'],
'single_quote' => true,
'native_function_invocation'=>true,
'@PSR2' => true,
'strict_param' => true,
'declare_strict_types' => true,
'array_syntax' => ['syntax' => 'short'],
'single_quote' => true,
'native_function_invocation' => ['include'=>['@all']],
))
->setFinder($finder)
->setUsingCache(true);

0 comments on commit 94798b4

Please sign in to comment.