forked from egeloen/IvoryFormExtraBundle
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.php_cs
27 lines (23 loc) · 674 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
<?php
/*
* This file is part of the Ivory Form Extra 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__)
->exclude('vendor');
return Config::create()
->setUsingCache(true)
->setRules([
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
'binary_operator_spaces' => ['align_double_arrow' => true],
'ordered_imports' => true,
])
->setFinder($finder);