Skip to content

Commit

Permalink
ignore fixtures for phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
DjordyKoert committed Jan 8, 2025
1 parent e76be96 commit bea1021
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,34 @@

declare(strict_types=1);

/*
* This file is part of the NelmioApiDocBundle package.
*
* (c) Nelmio
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

$finder = (new PhpCsFixer\Finder())
->in(__DIR__)
->exclude('var')
->exclude('tests/Functional/cache');
->exclude('tests/Functional/cache')
->exclude('tests/Functional/ModelDescriber/Fixtures');

return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
'@PHP84Migration' => true,
'header_comment' => [
'header' => <<<HEADER
This file is part of the NelmioApiDocBundle package.
This file is part of the NelmioApiDocBundle package.
(c) Nelmio
(c) Nelmio
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
HEADER
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
HEADER
],
'trailing_comma_in_multiline' => false,
])
Expand Down

0 comments on commit bea1021

Please sign in to comment.