-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.php_cs
23 lines (22 loc) · 797 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
<?php
$finder = PhpCsFixer\Finder::create()
//->exclude('somedir')
//->notPath('src/Symfony/Component/Translation/Tests/fixtures/resources.php'
->in(__DIR__)
;
return PhpCsFixer\Config::create()
->setRules(array(
'@PSR2' => true,
'binary_operator_spaces' => true,
'no_multiline_whitespace_around_double_arrow' => true,
'concat_space' => array('spacing' => 'none'),
'strict_param' => false,
'array_syntax' => array('syntax' => 'long'),
'array_indentation' => true,
'braces' => array(
'allow_single_line_closure' => true,
'position_after_functions_and_oop_constructs' => 'same'),
'phpdoc_add_missing_param_annotation' => array('only_untyped' => false)
))
->setFinder($finder)
;