add ClassAttributeSeparationFixer
All checks were successful
/ ls (push) Successful in 17s

This commit is contained in:
lubiana 2024-05-04 19:41:48 +02:00
parent b1792809e1
commit 9993d760d6
Signed by: lubiana
SSH key fingerprint: SHA256:gkqM8DUX4Blf6P52fycW8ISTd+4eAHH+Uzu9iyc8hAM

View file

@ -77,6 +77,11 @@ return ECSConfig::configure()
] ]
) )
->withConfiguredRule( ->withConfiguredRule(
\PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer::class,
[
'elements' => ['const' => 'none', 'method' => 'one', 'property' => 'none', 'trait_import' => 'none', 'case' => 'none'],
],
)->withConfiguredRule(
DeclareStrictTypesSniff::class, DeclareStrictTypesSniff::class,
[ [
'declareOnFirstLine' => true, 'declareOnFirstLine' => true,