Rules that follow the official Symfony Coding Standards. This set contains rules that are risky.
- @PHP56Migration:risky
- @PSR12:risky
- array_push
- combine_nested_dirname
- dir_constant
- ereg_to_preg
- error_suppression
- fopen_flag_order
- fopen_flags
config:
['b_mode' => false]
- function_to_constant
config:
['functions' => ['get_called_class', 'get_class', 'get_class_this', 'php_sapi_name', 'phpversion', 'pi']]
- implode_call
- is_null
- logical_operators
- modernize_types_casting
- native_constant_invocation
- native_function_invocation
config:
['include' => ['@compiler_optimized'], 'scope' => 'namespaced', 'strict' => true]
- no_alias_functions
- no_homoglyph_names
- no_php4_constructor
- no_unneeded_final_method
- no_unreachable_default_argument_value
- no_useless_sprintf
- non_printable_character
config:
['use_escape_sequences_in_strings' => true]
- ordered_traits
- php_unit_construct
- php_unit_mock_short_will_return
- php_unit_set_up_tear_down_visibility
- php_unit_test_annotation
- psr_autoloading
- self_accessor
- set_type_to_cast
- string_line_ending
- ternary_to_elvis_operator