forked from egeloen/ivory-ordered-form
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.php_cs
30 lines (26 loc) · 749 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
29
30
<?php
/*
* This file is part of the Ivory Ordered Form package.
*
* (c) Eric GELOEN <[email protected]>
*
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
$finder = Finder::create()
->in([
__DIR__.'/src',
__DIR__.'/tests',
])
->exclude('tests/Fixture/Resource/config');
return Config::create()
->setUsingCache(true)
->setRules([
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => ['align_double_arrow' => true],
'ordered_imports' => true,
])
->setFinder($finder);