Skip to content
This repository was archived by the owner on Aug 17, 2022. It is now read-only.

Commit fb1f4f1

Browse files
committed
updated StyleCI ruleset
1 parent 2ca250c commit fb1f4f1

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

.styleci.yml

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,46 @@
11
preset: symfony
22

33
enabled:
4+
- alpha_ordered_imports
5+
- combine_consecutive_issets
6+
- combine_consecutive_unsets
7+
- compact_nullable_typehint
8+
- declare_strict_types
9+
- dir_constant
10+
- ereg_to_preg
11+
- escape_implicit_backslashes
12+
- explicit_indirect_variable
13+
- explicit_string_variable
14+
- fully_qualified_strict_types
15+
- mb_str_functions
16+
- modernize_types_casting
17+
- multiline_comment_opening_closing
18+
- no_alternative_syntax
19+
- no_null_property_initialization
20+
- no_php4_constructor
21+
- no_short_echo_tag
22+
- no_unneeded_curly_braces
23+
- no_unneeded_final_method
24+
- no_useless_else
25+
- non_printable_character
26+
- php_unit_mock
27+
- php_unit_namespaced
28+
- php_unit_set_up_tear_down_visibility
29+
- random_api_migration
430
- short_array_syntax
31+
- standardize_increment
32+
- strict_comparison
33+
- ternary_to_null_coalescing
534

635
disabled:
36+
- blank_line_before_break
37+
- blank_line_before_continue
38+
- blank_line_before_declare
39+
- blank_line_before_throw
40+
- blank_line_before_try
741
- cast_spaces
842
- concat_without_spaces
43+
- function_declaration
944
- no_blank_lines_after_phpdoc
1045
- no_blank_lines_after_throw
1146
- php_unit_fqcn_annotation
@@ -15,13 +50,13 @@ disabled:
1550
- phpdoc_separation
1651
- phpdoc_summary
1752
- phpdoc_to_comment
18-
- phpdoc_type_to_var
1953
- pre_increment
54+
- self_accessor
2055
- single_quote
2156
- trailing_comma_in_multiline_array
2257
- unalign_double_arrow
2358
- unalign_equals
2459

2560
finder:
2661
exclude:
27-
- "vendor"
62+
- "src/system/RoutesModule"

0 commit comments

Comments
 (0)