Code analyzers configs updates
All checks were successful
Run code tests / Run-code-test (push) Successful in 1m28s

This commit is contained in:
Chicory ☕ 2024-07-29 10:49:11 +03:00
parent 83d95e3ef9
commit ad44b27689
Signed by: chicory
GPG Key ID: AC95A793F70BEDCD
2 changed files with 8 additions and 3 deletions

View File

@ -17,9 +17,15 @@ return $config
'phpdoc_var_annotation_correct_order' => true, 'phpdoc_var_annotation_correct_order' => true,
'single_line_empty_body' => true, 'single_line_empty_body' => true,
'ternary_to_null_coalescing' => true, 'ternary_to_null_coalescing' => true,
'phpdoc_align' => ['align' => 'left'],
'concat_space' => ['spacing' => 'one'],
'global_namespace_import' => [
'import_classes' => true,
'import_constants' => true,
'import_functions' => true,
],
]) ])
->setFinder(PhpCsFixer\Finder::create() ->setFinder(PhpCsFixer\Finder::create()
// ->exclude('folder-to-exclude') // if you want to exclude some folders, you can do it like this!
->in(__DIR__.'/src') ->in(__DIR__.'/src')
->in(__DIR__.'/tests') ->in(__DIR__.'/tests')
); );

View File

@ -2,4 +2,3 @@ parameters:
level: max level: max
paths: paths:
- src - src
- tests