From 370370b3b268a7b6a81d54ea956788c7f5c51740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Fri, 5 Jul 2019 10:12:20 +0200 Subject: [PATCH] Enhancement: Configure visibility_required fixer --- .php_cs.dist | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.php_cs.dist b/.php_cs.dist index c27f823..6bc0706 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -19,5 +19,12 @@ return PhpCsFixer\Config::create() ], 'no_empty_phpdoc' => true, 'no_superfluous_phpdoc_tags' => true, + 'visibility_required' => [ + 'elements' => [ + 'const', + 'method', + 'property', + ], + ], ]) ->setFinder($finder);