Continuous Integration Fixes

This commit is contained in:
Continuous Integration 2024-05-04 17:42:09 +00:00
parent 9993d760d6
commit 00f72e3be9
2 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,6 @@
<?php declare(strict_types=1);
use PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer;
use PhpCsFixer\Fixer\Import\OrderedImportsFixer;
use PhpCsFixer\Fixer\LanguageConstruct\FunctionToConstantFixer;
use PhpCsFixer\Fixer\Operator\NewWithBracesFixer;
@ -77,9 +78,15 @@ return ECSConfig::configure()
]
)
->withConfiguredRule(
\PhpCsFixer\Fixer\ClassNotation\ClassAttributesSeparationFixer::class,
ClassAttributesSeparationFixer::class,
[
'elements' => ['const' => 'none', 'method' => 'one', 'property' => 'none', 'trait_import' => 'none', 'case' => 'none'],
'elements' => [
'const' => 'none',
'method' => 'one',
'property' => 'none',
'trait_import' => 'none',
'case' => 'none',
],
],
)->withConfiguredRule(
DeclareStrictTypesSniff::class,

View file

@ -5,6 +5,5 @@ namespace Lubiana\CodeQuality;
final class LubiSetList
{
public const string RECTOR = __DIR__ . '/../config/rector.php';
public const string ECS = __DIR__ . '/../config/ecs.php';
}