1
0
Fork 0
mirror of https://github.com/archtechx/template.git synced 2025-12-12 13:24:03 +00:00

php cs fixer 3

This commit is contained in:
Samuel Štancl 2021-05-24 17:52:14 +02:00 committed by GitHub
parent 31db877574
commit 263c2260cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,9 +20,6 @@ $rules = [
], ],
'braces' => true, 'braces' => true,
'cast_spaces' => true, 'cast_spaces' => true,
'class_attributes_separation' => [
'elements' => ['method']
],
'class_definition' => true, 'class_definition' => true,
'concat_space' => [ 'concat_space' => [
'spacing' => 'one' 'spacing' => 'one'
@ -89,9 +86,9 @@ $rules = [
'normalize_index_brace' => true, 'normalize_index_brace' => true,
'not_operator_with_successor_space' => true, 'not_operator_with_successor_space' => true,
'object_operator_without_whitespace' => true, 'object_operator_without_whitespace' => true,
'ordered_imports' => ['sortAlgorithm' => 'alpha'], 'ordered_imports' => ['sort_algorithm' => 'alpha'],
'phpdoc_indent' => true, 'phpdoc_indent' => true,
'phpdoc_inline_tag' => true, 'general_phpdoc_tag_rename' => true,
'phpdoc_no_access' => true, 'phpdoc_no_access' => true,
'phpdoc_no_package' => true, 'phpdoc_no_package' => true,
'phpdoc_no_useless_inheritdoc' => true, 'phpdoc_no_useless_inheritdoc' => true,
@ -102,7 +99,7 @@ $rules = [
'phpdoc_trim' => true, 'phpdoc_trim' => true,
'phpdoc_types' => true, 'phpdoc_types' => true,
'phpdoc_var_without_name' => true, 'phpdoc_var_without_name' => true,
'psr4' => true, 'psr_autoloading' => true,
'self_accessor' => true, 'self_accessor' => true,
'short_scalar_cast' => true, 'short_scalar_cast' => true,
'simplified_null_return' => false, // disabled by Shift 'simplified_null_return' => false, // disabled by Shift
@ -121,7 +118,7 @@ $rules = [
'switch_case_semicolon_to_colon' => true, 'switch_case_semicolon_to_colon' => true,
'switch_case_space' => true, 'switch_case_space' => true,
'ternary_operator_spaces' => true, 'ternary_operator_spaces' => true,
'trailing_comma_in_multiline_array' => true, 'trailing_comma_in_multiline' => true,
'trim_array_spaces' => true, 'trim_array_spaces' => true,
'unary_operator_spaces' => true, 'unary_operator_spaces' => true,
'whitespace_after_comma_in_array' => true, 'whitespace_after_comma_in_array' => true,