
dir_constant
¶Replaces dirname(__FILE__)
expression with equivalent __DIR__
constant.
The rule is part of the following rule sets:
Using the @PhpCsFixer:risky rule set will enable the dir_constant
rule.
Using the @Symfony:risky rule set will enable the dir_constant
rule.