From 9993d760d638247795f941f4c4ac7082d2708acb Mon Sep 17 00:00:00 2001 From: lubiana Date: Sat, 4 May 2024 19:41:48 +0200 Subject: [PATCH] add ClassAttributeSeparationFixer --- config/ecs.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/ecs.php b/config/ecs.php index 28b4812..b5a07ba 100644 --- a/config/ecs.php +++ b/config/ecs.php @@ -77,6 +77,11 @@ return ECSConfig::configure() ] ) ->withConfiguredRule( + \PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer::class, + [ + 'elements' => ['const' => 'none', 'method' => 'one', 'property' => 'none', 'trait_import' => 'none', 'case' => 'none'], + ], + )->withConfiguredRule( DeclareStrictTypesSniff::class, [ 'declareOnFirstLine' => true,