forked from jsor/hal-client
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.php_cs
27 lines (25 loc) · 744 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
$finder = PhpCsFixer\Finder::create()
->in(__DIR__);
return PhpCsFixer\Config::create()
->setUsingCache(false)
->setRiskyAllowed(true)
->setRules(array(
'@Symfony' => true,
'array_syntax' => [
'syntax' => 'short'
],
'binary_operator_spaces' => array(
'align_double_arrow' => true,
'align_equals' => true,
),
'concat_space' => array(
'spacing' => 'one'
),
'no_unneeded_control_parentheses' => false,
'phpdoc_summary' => false,
'phpdoc_var_without_name' => false,
'simplified_null_return' => false,
'trailing_comma_in_multiline_array' => false,
))
->setFinder($finder);