-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php-cs-fixer.dist.php
More file actions
30 lines (29 loc) · 905 Bytes
/
.php-cs-fixer.dist.php
File metadata and controls
30 lines (29 loc) · 905 Bytes
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
<?php
return (new PhpCsFixer\Config())
->setRules(array(
'@PhpCsFixer' => true,
'@PhpCsFixer:risky' => true,
'@PHP71Migration' => true,
'@PHP71Migration:risky' => true,
'@PHP73Migration' => true,
'@PHPUnit75Migration:risky' => true,
'@DoctrineAnnotation' => true,
'array_syntax' => ['syntax' => 'short'],
'class_definition' => ['single_line' => false],
'declare_strict_types' => false,
'ordered_imports' => true,
'php_unit_strict' => false,
'php_unit_test_class_requires_covers' => false,
'self_accessor' => false,
'single_line_comment_style' => false,
))
->setRiskyAllowed(true)
->setFinder(
(new PhpCsFixer\Finder())
->in(__DIR__)
->exclude([
'vendor',
])
)
->setCacheFile('.php-cs-fixer.cache')
;