cs: Enable more risky rules.

This commit is contained in:
Pol Dellaiera
2021-11-30 11:37:57 +01:00
parent c8195e6df5
commit a9188355c5
193 changed files with 306 additions and 63 deletions

View File

@@ -35,9 +35,9 @@ $riskyRules = [
'php_unit_test_annotation' => false,
'php_unit_no_expectation_annotation' => false,
'declare_strict_types' => false,
'function_to_constant' => false,
// 'function_to_constant' => false,
// 'is_null' => false,
'native_function_invocation' => false,
// 'native_function_invocation' => false,
'ternary_to_elvis_operator' => false,
// 'no_trailing_whitespace_in_string' => false,
'no_unreachable_default_argument_value' => false,
@@ -56,7 +56,7 @@ $riskyRules = [
'ordered_traits' => false,
'php_unit_mock_short_will_return' => false,
'php_unit_set_up_tear_down_visibility' => false,
'set_type_to_cast' => false,
// 'set_type_to_cast' => false,
// 'string_line_ending' => false,
'ordered_interfaces' => false,
'php_unit_expectation' => false,
@@ -65,7 +65,7 @@ $riskyRules = [
'random_api_migration' => false,
'static_lambda' => false,
'php_unit_construct' => false,
'psr_autoloading' => false,
// 'psr_autoloading' => false,
'php_unit_dedicate_assert' => false,
];