-
Notifications
You must be signed in to change notification settings - Fork 3
/
.php_cs.dist
31 lines (30 loc) · 959 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
<?php
return PhpCsFixer\Config::create()
->setRules(array(
'@PSR1' => true,
'@PSR2' => true,
'concat_space' => array(
'spacing' => 'one'
),
'declare_equal_normalize' => array(
'space' => 'single'
),
'braces' => array(
'position_after_control_structures' => 'next',
'position_after_functions_and_oop_constructs' => 'next'
),
'combine_consecutive_issets' => true,
'combine_consecutive_unsets' => true,
'dir_constant' => true,
'elseif' => true,
'ereg_to_preg' => true,
'include' => true,
'linebreak_after_opening_tag' => true,
'mb_str_functions' => true,
'multiline_comment_opening_closing' => true,
'no_closing_tag' => true,
'no_whitespace_in_blank_line' => true,
'single_blank_line_at_eof' => true,
'lowercase_constants' => false
))
;