jetzt auch mit einheitstests
This commit is contained in:
parent
d68e7f45b3
commit
e883913d3a
10 changed files with 3952 additions and 16 deletions
9
ecs.php
9
ecs.php
|
@ -2,6 +2,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
use PhpCsFixer\Fixer\Import\OrderedImportsFixer;
|
||||
use PhpCsFixer\Fixer\Import\NoUnusedImportsFixer;
|
||||
use Symplify\EasyCodingStandard\Config\ECSConfig;
|
||||
|
||||
|
@ -9,11 +10,9 @@ return ECSConfig::configure()
|
|||
->withPaths([
|
||||
__DIR__ . '/public',
|
||||
__DIR__ . '/src',
|
||||
__DIR__ . '/tests',
|
||||
])
|
||||
->withRootFiles()
|
||||
->withRules([
|
||||
NoUnusedImportsFixer::class,
|
||||
])
|
||||
->withPhpCsFixerSets(
|
||||
per: true,
|
||||
php84Migration: true,
|
||||
|
@ -25,4 +24,8 @@ return ECSConfig::configure()
|
|||
strict: true,
|
||||
cleanCode: true,
|
||||
)
|
||||
->withRules([
|
||||
NoUnusedImportsFixer::class,
|
||||
OrderedImportsFixer::class,
|
||||
])
|
||||
;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue