|
15 | 15 | ->notPath('include/pregen-news.inc')
|
16 | 16 | ->notPath('tests/run-tests.php');
|
17 | 17 |
|
18 |
| -$config->setRules([ |
19 |
| - 'array_indentation' => true, |
20 |
| - 'constant_case' => true, |
21 |
| - 'indentation_type' => true, |
22 |
| - 'line_ending' => true, |
23 |
| - 'no_extra_blank_lines' => true, |
24 |
| - 'no_trailing_whitespace' => true, |
25 |
| - 'ordered_class_elements' => true, |
26 |
| - 'single_space_after_construct' => true, |
27 |
| - 'trim_array_spaces' => true, |
28 |
| - 'visibility_required' => true, |
29 |
| - 'whitespace_after_comma_in_array' => true, |
30 |
| -]); |
| 18 | +$config |
| 19 | + ->setRiskyAllowed(true) |
| 20 | + ->setRules([ |
| 21 | + 'array_indentation' => true, |
| 22 | + 'constant_case' => true, |
| 23 | + 'indentation_type' => true, |
| 24 | + 'line_ending' => true, |
| 25 | + 'no_extra_blank_lines' => true, |
| 26 | + 'no_trailing_whitespace' => true, |
| 27 | + 'ordered_class_elements' => true, |
| 28 | + 'single_space_after_construct' => true, |
| 29 | + 'trim_array_spaces' => true, |
| 30 | + 'visibility_required' => true, |
| 31 | + 'void_return' => true, |
| 32 | + 'whitespace_after_comma_in_array' => true, |
| 33 | + ]); |
31 | 34 |
|
32 | 35 | return $config;
|
0 commit comments