mirror of
https://github.com/archtechx/laravel-seo.git
synced 2025-12-12 01:44:03 +00:00
new php-cs-fixer config
This commit is contained in:
parent
6d15e2c008
commit
04cfab679c
1 changed files with 4 additions and 7 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue