Initial commit
This commit is contained in:
32
.php-cs-fixer.dist.php
Normal file
32
.php-cs-fixer.dist.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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')
|
||||
)
|
||||
;
|
||||
Reference in New Issue
Block a user