mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 12:39:43 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
d5a3a415b3
1 changed files with 1 additions and 25 deletions
|
|
@ -5,30 +5,6 @@ $finder = PhpCsFixer\Finder::create()
|
||||||
|
|
||||||
return (new PhpCsFixer\Config)
|
return (new PhpCsFixer\Config)
|
||||||
->setRules([
|
->setRules([
|
||||||
'array_indentation' => true,
|
|
||||||
'array_syntax' => [
|
|
||||||
'syntax' => 'short'
|
|
||||||
],
|
|
||||||
'binary_operator_spaces' => [
|
|
||||||
'default' => 'single_space'
|
|
||||||
],
|
|
||||||
'blank_line_after_namespace' => true,
|
|
||||||
'blank_line_after_opening_tag' => true,
|
|
||||||
'cast_spaces' => [
|
|
||||||
'space' => 'single'
|
|
||||||
],
|
|
||||||
'elseif' => true,
|
|
||||||
'indentation_type' => true,
|
|
||||||
'no_closing_tag' => true,
|
|
||||||
'no_empty_phpdoc' => true,
|
|
||||||
'no_extra_blank_lines' => true,
|
|
||||||
'no_superfluous_phpdoc_tags' => [
|
|
||||||
'allow_mixed' => true,
|
|
||||||
],
|
|
||||||
'no_trailing_whitespace' => true,
|
|
||||||
'no_trailing_whitespace_in_comment' => true,
|
|
||||||
'no_whitespace_in_blank_line' => true,
|
|
||||||
'unary_operator_spaces' => true
|
|
||||||
])
|
])
|
||||||
->setFinder($finder)
|
->setFinder($finder)
|
||||||
->setIndent("\t")
|
->setIndent("\t")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue