mirror of
https://github.com/JeroenED/libpairtwo.git
synced 2024-11-23 06:56:58 +01:00
25 lines
604 B
PHP
25 lines
604 B
PHP
<?php
|
|
|
|
$header = <<<'EOF'
|
|
This file is part of <package name>.
|
|
|
|
This source file is subject to the license that is bundled
|
|
with this source code in the file LICENSE.
|
|
EOF;
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->exclude(['build', 'vendor'])
|
|
->in(__DIR__);
|
|
|
|
return PhpCsFixer\Config::create()
|
|
->setFinder($finder)
|
|
->setUsingCache(true)
|
|
->setRules([
|
|
'@Symfony' => true,
|
|
'header_comment' => ['header' => $header],
|
|
'phpdoc_align' => false,
|
|
'phpdoc_order' => true,
|
|
'ordered_imports' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
]);
|