Skip to content

Commit

Permalink
Move risky option
Browse files Browse the repository at this point in the history
  • Loading branch information
ElisDN committed Feb 19, 2024
1 parent b644f19 commit 59fc6e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
__FILE__,
])
)
->setRiskyAllowed(true)
->setRules([
'@PSR12' => true,
'@PSR12:risky' => true,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"app": "php bin/app.php",
"test": "codecept",
"lint": "phplint",
"php-cs-fixer": "php-cs-fixer --config=.php-cs-fixer.php --allow-risky=yes",
"php-cs-fixer": "php-cs-fixer --config=.php-cs-fixer.php",
"psalm": "psalm --config=psalm.xml"
}
}

0 comments on commit 59fc6e5

Please sign in to comment.