File tree Expand file tree Collapse file tree 4 files changed +25
-1
lines changed Expand file tree Collapse file tree 4 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ phpunit.xml
22vendor
33composer.lock
44composer.phar
5+ .php_cs.cache
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ require_once './vendor/autoload.php ' ;
4+
5+ use SLLH \StyleCIBridge \ConfigBridge ;
6+ use Symfony \CS \Fixer \Contrib \HeaderCommentFixer ;
7+
8+ $ header = <<<EOF
9+ This file is part of the FOSRestBundle package.
10+
11+ (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
12+
13+ For the full copyright and license information, please view the LICENSE
14+ file that was distributed with this source code.
15+ EOF ;
16+
17+ HeaderCommentFixer::setHeader ($ header );
18+
19+ return ConfigBridge::create ()
20+ ->setUsingCache (true )
21+ ;
Original file line number Diff line number Diff line change 1+ preset : symfony
Original file line number Diff line number Diff line change 4141 "symfony/dependency-injection" : " ~2.3" ,
4242 "phpoption/phpoption" : " ~1.1.0" ,
4343 "jms/serializer" : " ~0.13|~1.0" ,
44- "jms/serializer-bundle" : " ~0.12|~1.0"
44+ "jms/serializer-bundle" : " ~0.12|~1.0" ,
45+ "sllh/php-cs-fixer-styleci-bridge" : " ^1.3"
4546 },
4647
4748 "suggest" : {
You can’t perform that action at this time.
0 commit comments