Code analyzers configs updates
All checks were successful
Run code tests / Run-code-test (push) Successful in 1m28s
All checks were successful
Run code tests / Run-code-test (push) Successful in 1m28s
This commit is contained in:
parent
83d95e3ef9
commit
ad44b27689
|
@ -17,9 +17,15 @@ return $config
|
|||
'phpdoc_var_annotation_correct_order' => true,
|
||||
'single_line_empty_body' => 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()
|
||||
// ->exclude('folder-to-exclude') // if you want to exclude some folders, you can do it like this!
|
||||
->in(__DIR__.'/src')
|
||||
->in(__DIR__.'/tests')
|
||||
);
|
||||
|
|
|
@ -2,4 +2,3 @@ parameters:
|
|||
level: max
|
||||
paths:
|
||||
- src
|
||||
- tests
|
Loading…
Reference in New Issue
Block a user