cs: Enable more risky rules.

This commit is contained in:
Pol Dellaiera
2021-11-30 12:09:24 +01:00
parent 6ce511889f
commit 579c349e28
22 changed files with 29 additions and 15 deletions

View File

@@ -31,7 +31,7 @@ $riskyRules = [
// 'comment_to_phpdoc' => false,
// 'no_unset_on_property' => false,
'strict_param' => false,
'native_constant_invocation' => false,
// 'native_constant_invocation' => false,
'php_unit_test_annotation' => false,
'php_unit_no_expectation_annotation' => false,
'declare_strict_types' => false,
@@ -46,8 +46,8 @@ $riskyRules = [
// 'array_push' => false,
'ereg_to_preg' => false,
'error_suppression' => false,
'fopen_flag_order' => false,
'fopen_flags' => false,
// 'fopen_flag_order' => false,
// 'fopen_flags' => false,
// 'logical_operators' => false,
// 'modernize_types_casting' => false,
// 'no_homoglyph_names' => false,