Skip to content
This repository was archived by the owner on Nov 4, 2023. It is now read-only.

Commit 5c94109

Browse files
committed
[TASK] StyleCI adaption
1 parent 8c8edfd commit 5c94109

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.styleci.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
preset: psr2
22

3+
risky: true
4+
35
enabled:
46
- alpha_ordered_imports
57
- binary_operator_spaces
8+
- blank_line_before_return
69
- concat_with_spaces
10+
- declare_strict_types
711
- function_typehint_space
812
- hash_to_slash_comment
913
- linebreak_after_opening_tag
@@ -35,13 +39,21 @@ enabled:
3539
- no_useless_return
3640
- no_whitespace_before_comma_in_array
3741
- no_whitespace_in_blank_line
42+
- non_printable_character
3843
- normalize_index_brace
44+
- object_operator_without_whitespace
3945
- phpdoc_add_missing_param_annotation
46+
- phpdoc_indent
47+
- phpdoc_no_access
4048
- phpdoc_no_package
4149
- phpdoc_order
4250
- phpdoc_scalar
51+
- phpdoc_single_line_var_spacing
52+
- phpdoc_trim
4353
- phpdoc_types
4454
- self_accessor
55+
- phpdoc_var_without_name
56+
- return_type_declaration
4557
- short_array_syntax
4658
- short_scalar_cast
4759
- single_quote
@@ -56,4 +68,8 @@ finder:
5668
exclude:
5769
- "Documentation"
5870
- "Libraries"
59-
- "Resources/PHP"
71+
- "Resources/PHP"
72+
not-name:
73+
- "ext_emconf.php"
74+
- "ext_localconf.php"
75+
- "ext_tables.php"

0 commit comments

Comments
 (0)