-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs
34 lines (29 loc) · 1.13 KB
/
.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
31
32
33
34
<?php
$headerComment = <<<COMMENT
This file is part of the ForciRememberMeBundle package.
(c) Martin Kirilov <wucdbm@gmail.com>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
COMMENT;
$finder = PhpCsFixer\Finder::create()->in(__DIR__ . '/src');
return PhpCsFixer\Config::create()
->registerCustomFixers([
new \Wucdbm\PhpCsFixer\Fixer\EnsureBlankLineAfterClassOpeningFixer()
])
->setRules([
'@Symfony' => true,
'no_blank_lines_after_class_opening' => false,
'Wucdbm/ensure_blank_line_after_class_opening' => true,
'array_syntax' => [
'syntax' => 'short'
],
'braces' => [
'position_after_functions_and_oop_constructs' => 'same'
],
'trailing_comma_in_multiline_array' => false,
'header_comment' => [
'header' => $headerComment
]
])
->setUsingCache(false)
->setFinder($finder);