-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.php_cs
More file actions
29 lines (26 loc) · 1023 Bytes
/
.php_cs
File metadata and controls
29 lines (26 loc) · 1023 Bytes
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
29
<?php
/*
* This file is part of PHP CS Fixer.
* (c) Fabien Potencier <fabien@symfony.com>
* Dariusz Rumiński <dariusz.ruminski@gmail.com>
* 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 <fabien@symfony.com>
Dariusz Rumiński <dariusz.ruminski@gmail.com>
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' => false,
'no_spaces_inside_parenthesis' => false,
'phpdoc_summary' => false,
'binary_operator_spaces' => ['default' => 'align_single_space_minimal'],
'braces' => ['position_after_control_structures' => 'next'],
]
)->setIndent(' ');