Refactor PHP CS Fixer configuration

Removed unnecessary rules for indentation and superfluous PHPDoc tags.
This commit is contained in:
yefengeeeeeeeeeee 2026-04-04 17:53:31 +08:00 • committed by GitHub
parent 07fd0e7968
commit 71e14456d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,12 +15,8 @@ return (new PhpCsFixer\Config)
'space' => 'single'
],
'elseif' => true,
'indentation_type' => true,
'no_closing_tag' => true,
'no_empty_phpdoc' => true,
'no_superfluous_phpdoc_tags' => [
'allow_mixed' => true,
],
'no_trailing_whitespace' => true,
'no_trailing_whitespace_in_comment' => true,
'no_whitespace_in_blank_line' => true,