forked from lightSAML/SymfonyBridgeBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.php_cs
More file actions
23 lines (17 loc) · 608 Bytes
/
.php_cs
File metadata and controls
23 lines (17 loc) · 608 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
$finder = Symfony\CS\Finder\DefaultFinder::create()
->in('src')
;
$header = <<<EOT
This file is part of the LightSAML Symfony Bridge Bundle package.
(c) Milos Tomic <tmilos@lightsaml.com>
This source file is subject to the MIT license that is bundled
with this source code in the file LICENSE.
EOT;
Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);
return Symfony\CS\Config\Config::create()
->setUsingCache(true)
->level(Symfony\CS\FixerInterface::SYMFONY_LEVEL)
->fixers(array('-empty_return', '-phpdoc_no_empty_return', 'header_comment'))
->finder($finder)
;