-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.php_cs
28 lines (25 loc) · 944 Bytes
/
.php_cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/*
* This file is part of PHP CS Fixer.
* (c) Fabien Potencier <[email protected]>
* Dariusz Rumiński <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
$header = <<<'EOF'
This file is part of PHP CS Fixer.
(c) Fabien Potencier <[email protected]>
Dariusz Rumiński <[email protected]>
This source file is subject to the MIT license that is bundled
with this source code in the file LICENSE.
EOF;
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'phpdoc_no_package' => false,
'no_superfluous_phpdoc_tags' => [''],
'phpdoc_add_missing_param_annotation' => ['only_untyped' => false ],
'binary_operator_spaces' => [ 'default' => 'align_single_space_minimal'],
'braces' => [ 'position_after_control_structures' => 'next' ]
])
->setIndent(" ");