mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
cs: Enable more risky rules.
This commit is contained in:
@@ -23,12 +23,12 @@ $rules = $config->getRules();
|
||||
$riskyRules = [
|
||||
'final_internal_class' => false,
|
||||
// 'no_useless_sprintf' => false,
|
||||
'dir_constant' => false,
|
||||
// 'dir_constant' => false,
|
||||
// 'no_alias_functions' => false,
|
||||
// 'implode_call' => false,
|
||||
'combine_nested_dirname' => false,
|
||||
// 'combine_nested_dirname' => false,
|
||||
// 'pow_to_exponentiation' => false,
|
||||
'comment_to_phpdoc' => false,
|
||||
// 'comment_to_phpdoc' => false,
|
||||
// 'no_unset_on_property' => false,
|
||||
'strict_param' => false,
|
||||
'native_constant_invocation' => false,
|
||||
@@ -36,7 +36,7 @@ $riskyRules = [
|
||||
'php_unit_no_expectation_annotation' => false,
|
||||
'declare_strict_types' => false,
|
||||
'function_to_constant' => false,
|
||||
'is_null' => true,
|
||||
// 'is_null' => false,
|
||||
'native_function_invocation' => false,
|
||||
'ternary_to_elvis_operator' => false,
|
||||
// 'no_trailing_whitespace_in_string' => false,
|
||||
@@ -57,7 +57,7 @@ $riskyRules = [
|
||||
'php_unit_mock_short_will_return' => false,
|
||||
'php_unit_set_up_tear_down_visibility' => false,
|
||||
'set_type_to_cast' => false,
|
||||
'string_line_ending' => false,
|
||||
// 'string_line_ending' => false,
|
||||
'ordered_interfaces' => false,
|
||||
'php_unit_expectation' => false,
|
||||
'php_unit_mock' => false,
|
||||
|
Reference in New Issue
Block a user