-
Notifications
You must be signed in to change notification settings - Fork 24
/
.php_cs
28 lines (25 loc) · 653 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
28
<?php
$rules = [
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'no_blank_lines_after_phpdoc' => false,
'ordered_class_elements' => true,
'phpdoc_order' => true,
];
$finder = PhpCsFixer\Finder::create()
->exclude('build')
->exclude('var/cache')
->exclude('var/log')
->exclude('vendor')
->ignoreDotFiles(false)
->ignoreVCS(true)
->in(__DIR__)
->notName('*.phar')
->notName('LICENSE')
->notName('README.md')
->notName('composer.*')
->notName('phpunit.xml*');
return PhpCsFixer\Config::create()
->setUsingCache(false)
->setRules($rules)
->setFinder($finder);