forked from overblog/dataloader-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php_cs
More file actions
25 lines (21 loc) · 678 Bytes
/
.php_cs
File metadata and controls
25 lines (21 loc) · 678 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
<?php
$header = <<<EOF
This file is part of the OverblogDataLoaderBundle package.
(c) Overblog <http://github.com/overblog/>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'no_unreachable_default_argument_value' => false,
'heredoc_to_nowdoc' => false,
'header_comment' => ['header' => $header],
])
->setRiskyAllowed(true)
->setFinder(
PhpCsFixer\Finder::create()->in(__DIR__)
)
;