Skip to content

Commit

Permalink
Enhancement: Configure visibility_required fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz authored and sebastianbergmann committed Oct 10, 2018
1 parent abd6dba commit ece7b37
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,13 @@ return PhpCsFixer\Config::create()
'trailing_comma_in_multiline_array' => true,
'trim_array_spaces' => true,
'unary_operator_spaces' => true,
'visibility_required' => true,
'visibility_required' => [
'elements' => [
'const',
'method',
'property',
],
],
//'void_return' => true,
'whitespace_after_comma_in_array' => true,
]
Expand Down

0 comments on commit ece7b37

Please sign in to comment.