-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
.php_cs
26 lines (24 loc) · 775 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
<?php
$finder = PhpCsFixer\Finder::create()->in(['src', 'tests']);
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@PhpCsFixer' => true,
'ereg_to_preg' => true,
'no_php4_constructor' => true,
'strict_comparison' => true,
'strict_param' => true,
'php_unit_internal_class' => false,
'php_unit_test_class_requires_covers' => false,
'no_superfluous_phpdoc_tags' => false,
'function_declaration' => [
'closure_function_spacing' => 'none',
],
'phpdoc_align' => [
'align' => 'left',
],
'multiline_whitespace_before_semicolons' => [
'strategy' => 'no_multi_line',
],
])
->setFinder($finder);