Update .php-cs-fixer.php

This commit is contained in:
yefengeeeeeeeeeee 2026-04-04 17:56:10 +08:00 • committed by GitHub
parent 71e14456d6
commit 4221b1b774
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,18 +9,15 @@ return (new PhpCsFixer\Config)
'array_syntax' => [ 'array_syntax' => [
'syntax' => 'short' 'syntax' => 'short'
], ],
'blank_line_after_namespace' => true,
'blank_line_after_opening_tag' => true, 'blank_line_after_opening_tag' => true,
'cast_spaces' => [ 'cast_spaces' => [
'space' => 'single' 'space' => 'single'
], ],
'elseif' => true,
'no_closing_tag' => true, 'no_closing_tag' => true,
'no_empty_phpdoc' => true, 'no_empty_phpdoc' => true,
'no_trailing_whitespace' => true, 'no_trailing_whitespace' => true,
'no_trailing_whitespace_in_comment' => true, 'no_trailing_whitespace_in_comment' => true,
'no_whitespace_in_blank_line' => true, 'no_whitespace_in_blank_line' => true,
'unary_operator_spaces' => true
]) ])
->setFinder($finder) ->setFinder($finder)
->setIndent("\t") ->setIndent("\t")