forked from zef-dev/zef-expression-language
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.php_cs
More file actions
24 lines (20 loc) · 604 Bytes
/
.php_cs
File metadata and controls
24 lines (20 loc) · 604 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
<?php
$header = <<<'EOF'
This file is part of <package name>.
This source file is subject to the license that is bundled
with this source code in the file LICENSE.
EOF;
$finder = PhpCsFixer\Finder::create()
->exclude(['build', 'vendor'])
->in(__DIR__);
return PhpCsFixer\Config::create()
->setFinder($finder)
->setUsingCache(true)
->setRules([
'@Symfony' => true,
'header_comment' => ['header' => $header],
'phpdoc_align' => false,
'phpdoc_order' => true,
'ordered_imports' => true,
'array_syntax' => ['syntax' => 'short'],
]);