Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 29c1851

Browse files
Defined some new syntax rules
1 parent 03deb24 commit 29c1851

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.php_cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,19 @@ return PhpCsFixer\Config::create()
1414
->setFinder($finder)
1515
->setRules(array(
1616
'@Symfony' => true,
17+
'@Symfony:risky' => false,
18+
'array_syntax' => array('syntax' => 'long'),
1719
'binary_operator_spaces' => array(
1820
'align_double_arrow' => false,
1921
),
22+
'combine_consecutive_unsets' => true,
23+
'no_useless_else' => true,
24+
'no_useless_return' => true,
25+
'ordered_imports' => true,
26+
'php_unit_strict' => true,
27+
'phpdoc_short_description' => false,
2028
'phpdoc_summary' => false,
29+
'psr4' => true,
30+
'strict_comparison' => true,
2131
))
2232
;

0 commit comments

Comments
 (0)