diff --git a/.php_cs.dist b/.php_cs.dist index b561201b28f..cb721540df2 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -1,5 +1,14 @@ + +For the full copyright and license information, please view the LICENSE +file that was distributed with this source code. +HEADER; + $finder = PhpCsFixer\Finder::create() ->in(__DIR__) ->exclude('tests/Fixtures/app/cache') @@ -17,6 +26,10 @@ return PhpCsFixer\Config::create() 'allow_single_line_closure' => true, ], 'declare_strict_types' => true, + 'header_comment' => [ + 'header' => $header, + 'location' => 'after_open', + ], 'modernize_types_casting' => true, // 'native_function_invocation' => true, 'no_extra_consecutive_blank_lines' => [