Skip to content

Commit cdf68d6

Browse files
committed
Enhancement: Configure visibility_required fixer
1 parent 5c1d081 commit cdf68d6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.php_cs.dist

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,12 @@ return PhpCsFixer\Config::create()
1010
->setRules([
1111
'@Symfony' => true,
1212
'array_syntax' => ['syntax' => 'short'],
13+
'visibility_required' => [
14+
'elements' => [
15+
'const',
16+
'method',
17+
'property',
18+
],
19+
],
1320
])
1421
->setFinder($finder);

0 commit comments

Comments
 (0)