Просмотр исходного кода

Remove duplicate "function_to_constant" from RuleSet

SpacePossum 5 лет назад
Родитель
Сommit
4ae15c7c20
1 измененных файлов с 0 добавлено и 7 удалено
  1. 0 7
      src/RuleSet.php

+ 0 - 7
src/RuleSet.php

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