Skip to content

Commit 645b316

Browse files
author
Andrey Helldar
authored
Update .styleci.yml
1 parent 925db55 commit 645b316

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

.styleci.yml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,67 @@
1-
preset: psr2
1+
preset: psr12
22

3-
finder:
4-
exclude:
5-
- "tests/stubs"
3+
risky: true
64

75
enabled:
86
- align_double_arrow
97
- align_equals
108
- align_phpdoc
119
- alpha_ordered_imports
1210
- binary_operator_spaces
13-
- blank_line_after_opening_tag
1411
- blank_line_before_continue
1512
- blank_line_before_declare
1613
- blank_line_before_return
1714
- blank_line_before_throw
1815
- blank_line_before_try
1916
- cast_spaces
20-
- concat_with_spaces
17+
- combine_consecutive_issets
2118
- const_separation
22-
- lowercase_cast
19+
- dir_constant
20+
- fully_qualified_strict_types
21+
- logical_operators
2322
- method_separation
23+
- no_alias_functions
2424
- no_blank_lines_after_phpdoc
25+
- no_blank_lines_between_traits
2526
- no_empty_comment
2627
- no_empty_phpdoc
27-
- no_empty_statement
28+
- no_extra_block_blank_lines
2829
- no_extra_consecutive_blank_lines
2930
- no_short_bool_cast
31+
- no_trailing_comma_in_singleline_array
3032
- no_unneeded_control_parentheses
3133
- no_unused_imports
32-
- no_whitespace_in_blank_line
34+
- ordered_class_elements
35+
- php_unit_construct
36+
- php_unit_fqcn_annotation
3337
- phpdoc_indent
3438
- phpdoc_inline_tag
3539
- phpdoc_link_to_see
3640
- phpdoc_no_access
41+
- phpdoc_no_empty_return
3742
- phpdoc_no_package
43+
- phpdoc_no_useless_inheritdoc
3844
- phpdoc_order
45+
- phpdoc_property
3946
- phpdoc_return_self_reference
4047
- phpdoc_scalar
4148
- phpdoc_separation
49+
- phpdoc_summary
4250
- phpdoc_to_comment
4351
- phpdoc_trim
4452
- phpdoc_type_to_var
4553
- phpdoc_types
4654
- phpdoc_types_order
4755
- phpdoc_var_without_name
4856
- property_separation
49-
- return_type_declaration
5057
- self_accessor
5158
- short_array_syntax
59+
- short_list_syntax
60+
- single_line_class_definition
61+
- single_line_throw
5262
- single_quote
5363
- space_after_semicolon
5464
- standardize_not_equals
55-
- ternary_operator_spaces
65+
- ternary_to_null_coalescing
5666
- trailing_comma_in_multiline_array
5767
- trim_array_spaces

0 commit comments

Comments
 (0)