-
Notifications
You must be signed in to change notification settings - Fork 10
/
.php_cs
27 lines (26 loc) · 880 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
<?php
return Symfony\CS\Config\Config::create()
->fixers(array(
// Don't touch class/file name
'-psr0',
// Don't vertically align phpdoc tags
'-phpdoc_params',
// Allow spaces in concatenation
'-concat_without_spaces',
// Allow double-quoted strings, don't force single-quoted strings
'-single_quote',
// We often have @package phpDocs, so they shouldn't be stripped out
'-phpdoc_no_package',
// Allow 'return null'
'-empty_return',
// Don't force an empty line before namespace declaration
'-single_blank_line_before_namespace',
'no_blank_lines_before_namespace',
'-blankline_after_open_tag',
))
->finder(
Symfony\CS\Finder\DefaultFinder::create()
->exclude(array('web/concrete/vendor'))
->in(__DIR__)
)
;