mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
cs: Enable a couple of risky rules.
This commit is contained in:
@@ -22,14 +22,14 @@ $rules = $config->getRules();
|
||||
|
||||
$riskyRules = [
|
||||
'final_internal_class' => false,
|
||||
'no_useless_sprintf' => false,
|
||||
// 'no_useless_sprintf' => false,
|
||||
'dir_constant' => false,
|
||||
'no_alias_functions' => false,
|
||||
'implode_call' => false,
|
||||
// 'no_alias_functions' => false,
|
||||
// 'implode_call' => false,
|
||||
'combine_nested_dirname' => false,
|
||||
'pow_to_exponentiation' => false,
|
||||
// 'pow_to_exponentiation' => false,
|
||||
'comment_to_phpdoc' => false,
|
||||
'no_unset_on_property' => false,
|
||||
// 'no_unset_on_property' => false,
|
||||
'strict_param' => false,
|
||||
'native_constant_invocation' => false,
|
||||
'php_unit_test_annotation' => false,
|
||||
@@ -39,19 +39,19 @@ $riskyRules = [
|
||||
'is_null' => false,
|
||||
'native_function_invocation' => false,
|
||||
'ternary_to_elvis_operator' => false,
|
||||
'no_trailing_whitespace_in_string' => false,
|
||||
// 'no_trailing_whitespace_in_string' => false,
|
||||
'no_unreachable_default_argument_value' => false,
|
||||
'php_unit_test_case_static_method_calls' => false,
|
||||
'strict_comparison' => false,
|
||||
'array_push' => false,
|
||||
// 'array_push' => false,
|
||||
'ereg_to_preg' => false,
|
||||
'error_suppression' => false,
|
||||
'fopen_flag_order' => false,
|
||||
'fopen_flags' => false,
|
||||
'logical_operators' => false,
|
||||
// 'logical_operators' => false,
|
||||
'modernize_types_casting' => false,
|
||||
'no_homoglyph_names' => false,
|
||||
'no_unneeded_final_method' => false,
|
||||
// 'no_unneeded_final_method' => false,
|
||||
'non_printable_character' => false,
|
||||
'ordered_traits' => false,
|
||||
'php_unit_mock_short_will_return' => false,
|
||||
|
Reference in New Issue
Block a user