Skip to content

Commit

Permalink
Merge pull request #7 from pchabbert/feat_amelioration_regles_phpcs
Browse files Browse the repository at this point in the history
feat(cs fixer): improve php cs fixer rules
  • Loading branch information
thislg authored Apr 26, 2023
2 parents 5918926 + cbf3087 commit fb2e005
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions faros-ng/code-quality-pack/2.2/.php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
'ordered_imports' => [
'sort_algorithm' => 'alpha',
],
'multiline_whitespace_before_semicolons' => [
'strategy' => 'new_line_for_chained_calls',
],
'phpdoc_separation' => [
'groups' => [['ORM\\*'], ['Assert\\*']],
]
])
->setFinder($finder)
->setCacheFile('.php-cs-fixer.cache') // forward compatibility with 3.x line
Expand Down

0 comments on commit fb2e005

Please sign in to comment.