Skip to content

Commit

Permalink
Merge pull request #71 from PoulainMaxime/feat/add_new_rule
Browse files Browse the repository at this point in the history
Add new rule to add visibility for only method and property inside a …
  • Loading branch information
matks authored Oct 18, 2022
2 parents a87a075 + a15c6ad commit 843275b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/CsFixer/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public function getRules(): array
'noise_remaining_usages_exclude' => [],
],
'function_to_constant' => false,
'visibility_required' => [
'elements' => ['property', 'method'],
],
'no_alias_functions' => false,
'phpdoc_summary' => false,
'phpdoc_align' => [
Expand Down

0 comments on commit 843275b

Please sign in to comment.