Skip to content

Commit 720ed4d

Browse files
committed
Disable the native_constant_invocation fixer until it can be scoped
We don't want to run it on non-namespaced code to reduce visual clutter.
1 parent 8892b98 commit 720ed4d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.php_cs.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ return PhpCsFixer\Config::create()
1515
// rule disabled due to https://bugs.php.net/bug.php?id=60573 bug;
1616
// to be re-enabled (by dropping next line, rule is part of @Symfony already) on branch that requires PHP 5.4+
1717
'self_accessor' => false,
18+
// TODO remove the disabling once https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/3876 is merged and released
19+
'native_constant_invocation' => false,
1820
))
1921
->setRiskyAllowed(true)
2022
->setFinder(

0 commit comments

Comments
 (0)