forked from liip/LiipImagineBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.php_cs.dist
30 lines (21 loc) · 847 Bytes
/
.php_cs.dist
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 `liip/LiipImagineBundle` project.
*
* (c) https://github.com/liip/LiipImagineBundle/graphs/contributors
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
use SLLH\StyleCIBridge\ConfigBridge;
require_once __DIR__.'/vendor/autoload.php';
$headerString = <<<EOF
This file is part of the `liip/LiipImagineBundle` project.
(c) https://github.com/liip/LiipImagineBundle/graphs/contributors
For the full copyright and license information, please view the LICENSE.md
file that was distributed with this source code.
EOF;
$headerConfig = array( 'header_comment' => array( 'header' => $headerString ) );
$config = ConfigBridge::create();
$config->setRules(array_merge($config->getRules(), $headerConfig));
return $config;