Skip to content

Commit

Permalink
Enhancement: Enable and configure visibility_required fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Mar 3, 2020
1 parent c83232f commit 8b2bf88
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,12 @@ return PhpCsFixer\Config::create()
],
'no_whitespace_in_blank_line' => true,
'php_unit_set_up_tear_down_visibility' => true,
'visibility_required' => [
'elements' => [
'const',
'method',
'property',
],
],
])
->setFinder($finder);

0 comments on commit 8b2bf88

Please sign in to comment.