mirror of
https://github.com/wiosna-dev/common-library.git
synced 2026-03-12 01:31:45 +01:00
28 lines
903 B
PHP
28 lines
903 B
PHP
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->in([
|
|
__DIR__ . '/src',
|
|
__DIR__ . '/tests',
|
|
]);
|
|
|
|
return PhpCsFixer\Config::create()
|
|
->setRules([
|
|
'@Symfony' => true,
|
|
'binary_operator_spaces' => [
|
|
'align_double_arrow' => true,
|
|
],
|
|
'blank_line_before_return' => false,
|
|
'cast_spaces' => false,
|
|
'concat_space' => [
|
|
'spacing' => 'one',
|
|
],
|
|
'phpdoc_add_missing_param_annotation' => true,
|
|
'phpdoc_align' => false,
|
|
'phpdoc_order' => true,
|
|
'phpdoc_separation' => false,
|
|
'phpdoc_summary' => false,
|
|
'trim_array_spaces' => false,
|
|
])
|
|
->setFinder($finder);
|