34 lines
998 B
PHP
Executable File
34 lines
998 B
PHP
Executable File
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return new PhpCsFixer\Config()->setRules([
|
|
'@Symfony' => true,
|
|
|
|
'binary_operator_spaces' => [
|
|
'operators' => [
|
|
'=' => 'align_single_space',
|
|
'=>' => 'align_single_space',
|
|
],
|
|
],
|
|
|
|
'single_blank_line_at_eof' => true,
|
|
'phpdoc_align' => false,
|
|
'phpdoc_to_comment' => false,
|
|
'strict_comparison' => true,
|
|
'declare_strict_types' => true,
|
|
'single_trait_insert_per_statement' => false,
|
|
'nullable_type_declaration_for_default_null_value' => true,
|
|
'increment_style' => [
|
|
'style' => 'post',
|
|
],
|
|
])
|
|
|
|
->setFinder(
|
|
new PhpCsFixer\Finder()
|
|
->in(__DIR__)
|
|
->exclude('var')
|
|
)
|
|
;
|
|
|