-
Notifications
You must be signed in to change notification settings - Fork 29
/
.php_cs.dist
33 lines (31 loc) · 985 Bytes
/
.php_cs.dist
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
31
32
33
<?php
$finder = PhpCsFixer\Finder::create()
->in([
__DIR__
]
)
;
return PhpCsFixer\Config::create()
->setRules(array(
'simplified_null_return' => true,
'@Symfony' => true,
'@DoctrineAnnotation' => true,
'@Symfony:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => ['align_double_arrow' => true, 'align_equals' => true],
'protected_to_private' => false,
'semicolon_after_instruction' => false,
'no_superfluous_phpdoc_tags'=>false,
'header_comment' => [
'separate'=>'bottom',
'header' => <<<EOF
@copyright Copyright (C) 2019 Blue Flame Digital Solutions Limited / Phil Taylor. All rights reserved.
@author Phil Taylor <[email protected]> and others, see README.md
@see https://github.com/resquebundle/resque
@license MIT
EOF
]
))
->setRiskyAllowed(true)
->setFinder($finder)
;