forked from jdewit/AvroCsvBundle
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.php-cs-fixer.dist.php
34 lines (32 loc) · 1.01 KB
/
.php-cs-fixer.dist.php
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
31
32
33
34
<?php
/*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
return (new PhpCsFixer\Config())
->setRules(
[
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'ordered_imports' => [
'imports_order' => [
'class',
'function',
'const',
],
'sort_algorithm' => 'alpha',
],
'ordered_class_elements' => true,
'phpdoc_order' => true,
'header_comment' => ['header' => "For the full copyright and license information, please view the LICENSE\nfile that was distributed with this source code."],
]
)
->setFinder(
(new PhpCsFixer\Finder())
->in([
__DIR__,
])
->notPath('#/Fixtures/#')
->append([__FILE__])
)
->setCacheFile(__DIR__.'/.php-cs-fixer.cache');