-
Notifications
You must be signed in to change notification settings - Fork 3
/
.styleci.yml
77 lines (74 loc) · 2.03 KB
/
.styleci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
risky: true
preset: psr2
enabled:
- alpha_ordered_imports
- binary_operator_spaces
- blank_line_after_opening_tag
- blank_line_before_return
- compact_nullable_typehint
- concat_with_spaces
- function_typehint_space
- hash_to_slash_comment
- linebreak_after_opening_tag
- lowercase_cast
- lowercase_static_reference
- method_separation
- native_function_casing
- new_with_braces
- no_alias_functions
- no_blank_lines_after_class_opening
- no_blank_lines_after_phpdoc
- no_empty_comment
- no_empty_phpdoc
- no_empty_statement
- no_extra_block_blank_lines
- no_extra_consecutive_blank_lines
- no_leading_import_slash
- no_leading_namespace_whitespace
- no_multiline_whitespace_around_double_arrow
- no_multiline_whitespace_before_semicolons
- no_short_bool_cast
- no_singleline_whitespace_before_semicolons
- no_trailing_comma_in_list_call
- no_trailing_comma_in_singleline_array
- no_unneeded_control_parentheses
- no_unused_imports
- no_useless_else
- no_useless_return
- no_whitespace_before_comma_in_array
- no_whitespace_in_blank_line
- non_printable_character
- normalize_index_brace
- object_operator_without_whitespace
- phpdoc_add_missing_param_annotation
- phpdoc_annotation_without_dot
- phpdoc_indent
- phpdoc_no_access
- phpdoc_no_package
- phpdoc_order
- phpdoc_scalar
- phpdoc_single_line_var_spacing
- phpdoc_trim
- phpdoc_types
- phpdoc_var_without_name
- return_type_declaration
- self_accessor
- short_array_syntax
- short_scalar_cast
- single_blank_line_before_namespace
- single_quote
- single_trait_insert_per_statement
- standardize_not_equals
- trailing_comma_in_multiline_array
- whitespace_after_comma_in_array
finder:
name:
- "*.php"
exclude:
- ".Build"
- "doc"
- "Resources"
not-name:
- "ext_emconf.php"
- "ext_localconf.php"
- "ext_tables.php"