forked from cdukes/bones-for-genesis-2-0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs.php
executable file
·42 lines (38 loc) · 931 Bytes
/
.php_cs.php
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
35
36
37
38
39
40
41
42
<?php
// See https://github.com/FriendsOfPHP/PHP-CS-Fixer for options
$finder = Symfony\CS\Finder\DefaultFinder::create()
->exclude('bower_components')
->exclude('node_modules')
->exclude('vendor')
->in(__DIR__)
;
return Symfony\CS\Config\Config::create()
->fixers(
array(
'-indentation',
'-braces',
'-parenthesis',
'-function_declaration',
'-concat_without_spaces',
'align_double_arrow',
'align_equals',
'concat_with_spaces',
'ereg_to_preg',
'header_comment',
'long_array_syntax',
'multiline_spaces_before_semicolon',
'newline_after_open_tag',
'no_blank_lines_before_namespace',
'ordered_use',
'php4_constructor',
'php_unit_construct',
'php_unit_strict',
'phpdoc_order',
'phpdoc_var_to_type',
'short_echo_tag',
'strict',
'strict_param'
)
)
->finder($finder)
;