Skip to content

Commit bf777e2

Browse files
author
Evan Sims
committed
Create .styleci.yml
1 parent 6253e24 commit bf777e2

File tree

1 file changed

+258
-0
lines changed

1 file changed

+258
-0
lines changed

Diff for: .styleci.yml

+258
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,258 @@
1+
risky: true
2+
version: 8.0
3+
preset: none
4+
enabled:
5+
- align_double_arrow
6+
- align_phpdoc
7+
- alpha_ordered_imports
8+
- alpha_ordered_traits
9+
- array_indentation
10+
- array_push
11+
- assign_null_coalescing_to_coalesce_equal
12+
- backtick_to_shell_exec
13+
- binary_operator_spaces
14+
- blank_line_after_namespace
15+
- blank_line_after_opening_tag
16+
- blank_line_before_break
17+
- blank_line_before_cases
18+
- blank_line_before_continue
19+
- blank_line_before_declare
20+
- blank_line_before_do
21+
- blank_line_before_exit
22+
- blank_line_before_for
23+
- blank_line_before_goto
24+
- blank_line_before_if
25+
- blank_line_before_include
26+
- blank_line_before_return
27+
- blank_line_before_switch
28+
- blank_line_before_throw
29+
- blank_line_before_try
30+
- blank_line_before_while
31+
- blank_line_before_yield
32+
- cast_spaces
33+
- class_reference_name_casing
34+
- clean_namespace
35+
- combine_consecutive_issets
36+
- combine_consecutive_unsets
37+
- combine_nested_dirname
38+
- comment_to_phpdoc
39+
- compact_nullable_typehint
40+
- concat_with_spaces
41+
- const_separation
42+
- const_visibility_required
43+
- declare_equal_normalize
44+
- declare_strict_types
45+
- deprecation_error_suppression
46+
- die_to_exit
47+
- dir_constant
48+
- doctrine_annotation_array_assignment
49+
- doctrine_annotation_braces
50+
- doctrine_annotation_indentation
51+
- doctrine_annotation_spaces
52+
- elseif
53+
- empty_loop_body_braces
54+
- empty_loop_condition
55+
- encoding
56+
- ereg_to_preg
57+
- escape_implicit_backslashes
58+
- explicit_indirect_variable
59+
- explicit_string_variable
60+
- final_internal_class
61+
- final_public_method_for_abstract_class
62+
- fopen_flag_order
63+
- fopen_flags
64+
- full_opening_tag
65+
- fully_qualified_strict_types
66+
- function_declaration
67+
- function_to_constant
68+
- function_typehint_space
69+
- get_class_to_class_keyword
70+
- hash_to_slash_comment
71+
- heredoc_indentation
72+
- heredoc_to_nowdoc
73+
- implode_call
74+
- include
75+
- indentation
76+
- integer_literal_case
77+
- is_null
78+
- laravel_braces
79+
- laravel_phpdoc_alignment
80+
- laravel_phpdoc_order
81+
- laravel_phpdoc_separation
82+
- linebreak_after_opening_tag
83+
- logical_operators
84+
- lowercase_cast
85+
- lowercase_constants
86+
- lowercase_keywords
87+
- lowercase_static_reference
88+
- magic_constant_casing
89+
- magic_method_casing
90+
- mb_str_functions
91+
- method_argument_space_strict
92+
- method_chaining_indentation
93+
- method_separation
94+
- method_visibility_required
95+
- modernize_strpos
96+
- modernize_types_casting
97+
- multiline_comment_opening_closing
98+
- native_function_casing
99+
- native_function_invocation_symfony
100+
- native_function_type_declaration_casing
101+
- new_with_braces
102+
- no_alias_functions
103+
- no_alternative_syntax
104+
- no_binary_string
105+
- no_blank_lines_after_class_opening
106+
- no_blank_lines_after_phpdoc
107+
- no_blank_lines_after_return
108+
- no_blank_lines_after_throw
109+
- no_blank_lines_around_break
110+
- no_blank_lines_around_cases
111+
- no_blank_lines_around_continue
112+
- no_blank_lines_around_switch
113+
- no_blank_lines_between_imports
114+
- no_break_comment
115+
- no_closing_tag
116+
- no_empty_comment
117+
- no_empty_phpdoc
118+
- no_empty_statement
119+
- no_extra_block_blank_lines
120+
- no_extra_consecutive_blank_lines
121+
- no_homoglyph_names
122+
- no_leading_import_slash
123+
- no_leading_namespace_whitespace
124+
- no_multiline_whitespace_around_double_arrow
125+
- no_multiline_whitespace_before_semicolons
126+
- no_php4_constructor
127+
- no_short_bool_cast
128+
- no_short_echo_tag
129+
- no_singleline_whitespace_before_semicolons
130+
- no_space_around_double_colon
131+
- no_spaces_after_function_name
132+
- no_spaces_inside_offset
133+
- no_spaces_inside_parenthesis
134+
- no_spaces_outside_offset
135+
- no_superfluous_elseif
136+
- no_superfluous_phpdoc_tags_symfony
137+
- no_trailing_comma_in_list_call
138+
- no_trailing_comma_in_singleline_array
139+
- no_trailing_comma_in_singleline_function_call
140+
- no_trailing_whitespace
141+
- no_trailing_whitespace_in_comment
142+
- no_trailing_whitespace_in_string
143+
- no_unneeded_control_parentheses
144+
- no_unneeded_curly_braces
145+
- no_unneeded_final_method
146+
- no_unneeded_import_alias
147+
- no_unreachable_default_argument_value
148+
- no_unset_cast
149+
- no_unused_imports
150+
- no_unused_lambda_imports
151+
- no_useless_else
152+
- no_useless_return
153+
- no_useless_sprintf
154+
- no_whitespace_before_comma_in_array
155+
- no_whitespace_in_blank_line
156+
- non_printable_character
157+
- normalize_index_brace
158+
- not_operator_with_successor_space
159+
- nullable_type_declarations
160+
- object_operator_without_whitespace
161+
- operator_linebreak_end
162+
- ordered_class_elements
163+
- php_unit_fqcn_annotation
164+
- phpdoc_add_missing_param_annotation
165+
- phpdoc_annotation_without_dot
166+
- phpdoc_indent
167+
- phpdoc_inline_inheritdoc
168+
- phpdoc_inline_tag_normalizer
169+
- phpdoc_link_to_see
170+
- phpdoc_no_access
171+
- phpdoc_no_empty_return
172+
- phpdoc_no_package
173+
- phpdoc_no_useless_inheritdoc
174+
- phpdoc_property
175+
- phpdoc_return_self_reference
176+
- phpdoc_scalar
177+
- phpdoc_single_line_var_spacing
178+
- phpdoc_singular_inheritdoc
179+
- phpdoc_summary
180+
- phpdoc_to_comment
181+
- phpdoc_trim
182+
- phpdoc_trim_consecutive_blank_line_separation
183+
- phpdoc_type_to_var
184+
- phpdoc_types
185+
- phpdoc_types_order
186+
- phpdoc_var_order
187+
- phpdoc_var_without_name
188+
- pow_to_exponentiation
189+
- pre_increment
190+
- print_to_echo
191+
- property_separation
192+
- property_visibility_required
193+
- protected_to_private
194+
- psr4
195+
- random_api_migration
196+
- regular_callable_call
197+
- return_assignment
198+
- return_type_declaration
199+
- self_accessor
200+
- self_static_accessor
201+
- semicolon_after_instruction
202+
- set_type_to_cast
203+
- short_array_syntax
204+
- short_list_syntax
205+
- short_scalar_cast
206+
- simple_to_complex_string_variable
207+
- simplified_if_return
208+
- single_blank_line_at_eof
209+
- single_blank_line_before_namespace
210+
- single_class_element_per_statement
211+
- single_import_per_statement
212+
- single_line_after_imports
213+
- single_line_comment_spacing
214+
- single_line_throw
215+
- single_quote
216+
- single_space_after_construct
217+
- single_trait_insert_per_statement
218+
- space_after_semicolon
219+
- standardize_increment
220+
- standardize_not_equals
221+
- static_lambda
222+
- strict_comparison
223+
- strict_param
224+
- string_length_to_empty
225+
- string_line_ending
226+
- switch_case_semicolon_to_colon
227+
- switch_case_space
228+
- switch_continue_to_break
229+
- symfony_class_definition
230+
- ternary_operator_spaces
231+
- ternary_to_elvis_operator
232+
- ternary_to_null_coalescing
233+
- trailing_comma_in_multiline_array
234+
- trailing_comma_in_multiline_call
235+
- trailing_comma_in_multiline_definition
236+
- trim_array_spaces
237+
- unalign_equals
238+
- unary_operator_spaces
239+
- union_type_without_spaces
240+
- unix_line_endings
241+
- use_arrow_functions
242+
- void_return
243+
- whitespace_after_comma_in_array
244+
- yoda_style
245+
finder:
246+
exclude:
247+
- "modules"
248+
- "node_modules"
249+
- "nova"
250+
- "nova-components"
251+
- "storage"
252+
- "spark"
253+
- "vendor"
254+
- "tests"
255+
name: "*.php"
256+
not-name:
257+
- "*.blade.php"
258+
- "_ide_helper.php"

0 commit comments

Comments
 (0)