mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
cs: Switch to a stricter way of coding - this might break in a lot of places.
This commit is contained in:
@@ -21,11 +21,7 @@ $config
|
||||
$rules = $config->getRules();
|
||||
|
||||
$riskyRules = [
|
||||
'final_internal_class' => false,
|
||||
'strict_param' => false,
|
||||
'declare_strict_types' => false,
|
||||
'ternary_to_elvis_operator' => false,
|
||||
'strict_comparison' => false,
|
||||
'php_unit_mock_short_will_return' => false,
|
||||
'php_unit_set_up_tear_down_visibility' => false,
|
||||
'php_unit_construct' => false,
|
||||
@@ -36,6 +32,10 @@ $riskyRules = [
|
||||
'php_unit_no_expectation_annotation' => false,
|
||||
'php_unit_test_case_static_method_calls' => false,
|
||||
'php_unit_test_annotation' => false,
|
||||
// 'final_internal_class' => false,
|
||||
// 'strict_param' => false,
|
||||
// 'declare_strict_types' => false,
|
||||
// 'strict_comparison' => false,
|
||||
// 'no_unreachable_default_argument_value' => false,
|
||||
// 'ereg_to_preg' => false,
|
||||
// 'ordered_interfaces' => false,
|
||||
|
Reference in New Issue
Block a user