File tree Expand file tree Collapse file tree 6 files changed +55
-0
lines changed
Expand file tree Collapse file tree 6 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env php
22<?php
33
4+ $ fileHeaderComment = <<<COMMENT
5+ This file is part of the Symfony package.
6+
7+ (c) Fabien Potencier <fabien@symfony.com>
8+
9+ For the full copyright and license information, please view the LICENSE
10+ file that was distributed with this source code.
11+ COMMENT ;
12+
413$ finder = PhpCsFixer \Finder::create ()
514 ->in (__DIR__ )
615 ->exclude ('var ' )
@@ -17,6 +26,7 @@ return PhpCsFixer\Config::create()
1726 '@Symfony ' => true ,
1827 '@Symfony:risky ' => true ,
1928 'array_syntax ' => ['syntax ' => 'short ' ],
29+ 'header_comment ' => ['header ' => $ fileHeaderComment , 'separate ' => 'both ' ],
2030 'no_useless_else ' => true ,
2131 'no_useless_return ' => true ,
2232 'ordered_imports ' => true ,
Original file line number Diff line number Diff line change 11<?php
22
3+ /*
4+ * This file is part of the Symfony package.
5+ *
6+ * (c) Fabien Potencier <fabien@symfony.com>
7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+
312use Symfony \Bundle \FrameworkBundle \HttpCache \HttpCache ;
413
514class AppCache extends HttpCache
Original file line number Diff line number Diff line change 11<?php
22
3+ /*
4+ * This file is part of the Symfony package.
5+ *
6+ * (c) Fabien Potencier <fabien@symfony.com>
7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+
312use Symfony \Component \Config \Loader \LoaderInterface ;
413use Symfony \Component \HttpKernel \Kernel ;
514
Original file line number Diff line number Diff line change 11<?php
22
3+ /*
4+ * This file is part of the Symfony package.
5+ *
6+ * (c) Fabien Potencier <fabien@symfony.com>
7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+
312use Composer \Autoload \ClassLoader ;
413use Doctrine \Common \Annotations \AnnotationRegistry ;
514
Original file line number Diff line number Diff line change 11<?php
22
3+ /*
4+ * This file is part of the Symfony package.
5+ *
6+ * (c) Fabien Potencier <fabien@symfony.com>
7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+
312// This is the front controller used when executing the application in the
413// production environment ('prod'). See:
514// * http://symfony.com/doc/current/cookbook/configuration/front_controllers_and_kernel.html
Original file line number Diff line number Diff line change 11<?php
22
3+ /*
4+ * This file is part of the Symfony package.
5+ *
6+ * (c) Fabien Potencier <fabien@symfony.com>
7+ *
8+ * For the full copyright and license information, please view the LICENSE
9+ * file that was distributed with this source code.
10+ */
11+
312// This is the front controller used when executing the application in the
413// development environment ('dev'). See:
514// * http://symfony.com/doc/current/cookbook/configuration/front_controllers_and_kernel.html
You can’t perform that action at this time.
0 commit comments