Browse Source

bug #4835 Remove duplicate "function_to_constant" from RuleSet (SpacePossum)

This PR was merged into the 2.15 branch.

Discussion
----------

Remove duplicate "function_to_constant" from RuleSet

fixes https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4832#discussion_r381830664
cc @julienfalque

Commits
-------

4ae15c7c Remove duplicate "function_to_constant" from RuleSet
SpacePossum 5 years ago
parent
commit
c0850b30b8
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/RuleSet.php

+ 0 - 7
src/RuleSet.php

@@ -268,13 +268,6 @@ final class RuleSet implements RuleSetInterface
             '@Symfony:risky' => true,
             'comment_to_phpdoc' => true,
             'final_internal_class' => true,
-            'function_to_constant' => ['functions' => [
-                'get_called_class',
-                'get_class',
-                'php_sapi_name',
-                'phpversion',
-                'pi',
-            ]],
             'logical_operators' => true,
             'no_unreachable_default_argument_value' => true,
             'no_unset_on_property' => true,