-
Notifications
You must be signed in to change notification settings - Fork 4
/
.php_cs
30 lines (26 loc) · 766 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
29
30
<?php
$header = <<<EOF
AJGL Composer Symlinker
Copyright (C) Antonio J. García Lagar <[email protected]>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
return \PhpCsFixer\Config::create()
->setRiskyAllowed(true)
->setRules(
[
'@Symfony' => true,
'array_syntax' => array('syntax' => 'long'),
'header_comment' => array('header' => $header),
'ordered_imports' => true,
'phpdoc_order' => true,
'psr4' => true,
'strict_comparison' => true,
'strict_param' => true,
]
)
->setFinder(
\PhpCsFixer\Finder::create()
->in(__DIR__.'/src')
)
;