2016-11-30 16:52:13 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
|
|
->in(__DIR__)
|
2019-11-19 18:24:58 +01:00
|
|
|
->exclude('var')
|
2016-12-30 13:37:02 +01:00
|
|
|
->exclude('Tests/Functional/cache')
|
2016-11-30 16:52:13 +01:00
|
|
|
;
|
|
|
|
|
|
|
|
return PhpCsFixer\Config::create()
|
|
|
|
->setRules([
|
|
|
|
'@Symfony' => true,
|
|
|
|
'ordered_imports' => true,
|
|
|
|
'phpdoc_order' => true,
|
|
|
|
'header_comment' => [
|
2016-12-30 13:37:02 +01:00
|
|
|
'header' => <<<HEADER
|
2016-12-29 12:09:26 +01:00
|
|
|
This file is part of the NelmioApiDocBundle package.
|
2016-11-30 16:52:13 +01:00
|
|
|
|
2016-12-29 12:09:26 +01:00
|
|
|
(c) Nelmio
|
2016-11-30 16:52:13 +01:00
|
|
|
|
|
|
|
For the full copyright and license information, please view the LICENSE
|
|
|
|
file that was distributed with this source code.
|
2016-12-30 13:37:02 +01:00
|
|
|
HEADER
|
2016-11-30 16:52:13 +01:00
|
|
|
],
|
|
|
|
])
|
|
|
|
->setFinder($finder)
|
|
|
|
;
|