forked from FriendsOfSymfony/FOSOAuthServerBundle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.php_cs
37 lines (29 loc) · 949 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
31
32
33
34
35
36
37
<?php
/*
* This file is part of the FOSOAuthServerBundle package.
*
* (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Symfony\CS\Config\Config;
use Symfony\CS\Finder\DefaultFinder;
use Symfony\CS\Fixer\Contrib\HeaderCommentFixer;
use Symfony\CS\FixerInterface;
$finder = DefaultFinder::create()
->in(__DIR__)
;
$header = <<<EOF
This file is part of the FOSOAuthServerBundle package.
(c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
HeaderCommentFixer::setHeader($header);
return Config::create()
->level(FixerInterface::SYMFONY_LEVEL)
->fixers(array('align_double_arrow', 'header_comment'))
->finder($finder)
->setUsingCache(true)
;