Skip to content

Commit

Permalink
minor #294 [ci] update php-cs-fixer config
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow authored Apr 4, 2024
1 parent e5b1831 commit 534a242
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<?php

/*
* This file is part of the SymfonyCasts VerifyEmailBundle package.
* Copyright (c) SymfonyCasts <https://symfonycasts.com/>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

if (!file_exists(__DIR__.'/src') || !file_exists(__DIR__.'/tests')) {
exit(0);
}
Expand All @@ -9,9 +16,10 @@
;

return (new PhpCsFixer\Config())
->setRules(array(
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'phpdoc_to_comment' => false,
'header_comment' => [
'header' => <<<EOF
This file is part of the SymfonyCasts ResetPasswordBundle package.
Expand All @@ -22,7 +30,7 @@
],
// Because of the commented out argument in ResetPasswordHelperInterface
'no_superfluous_phpdoc_tags' => false,
))
])
->setRiskyAllowed(true)
->setFinder($finder)
;

0 comments on commit 534a242

Please sign in to comment.