PhpCsFixerRisky.rst 1.2 KB

123456789101112131415161718192021222324
  1. ==============================
  2. Rule set ``@PhpCsFixer:risky``
  3. ==============================
  4. Rule set as used by the PHP-CS-Fixer development team, highly opinionated. This set contains rules that are risky.
  5. Rules
  6. -----
  7. - `@Symfony:risky <./SymfonyRisky.rst>`_
  8. - `comment_to_phpdoc <./../rules/comment/comment_to_phpdoc.rst>`_
  9. - `final_internal_class <./../rules/class_notation/final_internal_class.rst>`_
  10. - `native_constant_invocation <./../rules/constant_notation/native_constant_invocation.rst>`_
  11. config:
  12. ``['fix_built_in' => false, 'include' => ['DIRECTORY_SEPARATOR', 'PHP_INT_SIZE', 'PHP_SAPI', 'PHP_VERSION_ID'], 'scope' => 'namespaced', 'strict' => true]``
  13. - `no_alias_functions <./../rules/alias/no_alias_functions.rst>`_
  14. config:
  15. ``['sets' => ['@all']]``
  16. - `no_unreachable_default_argument_value <./../rules/function_notation/no_unreachable_default_argument_value.rst>`_
  17. - `no_unset_on_property <./../rules/language_construct/no_unset_on_property.rst>`_
  18. - `php_unit_strict <./../rules/php_unit/php_unit_strict.rst>`_
  19. - `php_unit_test_case_static_method_calls <./../rules/php_unit/php_unit_test_case_static_method_calls.rst>`_
  20. - `strict_comparison <./../rules/strict/strict_comparison.rst>`_
  21. - `strict_param <./../rules/strict/strict_param.rst>`_