Skip to content

Commit 534a242

Browse files
authored
minor #294 [ci] update php-cs-fixer config
1 parent e5b1831 commit 534a242

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.php-cs-fixer.dist.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
<?php
22

3+
/*
4+
* This file is part of the SymfonyCasts VerifyEmailBundle package.
5+
* Copyright (c) SymfonyCasts <https://symfonycasts.com/>
6+
* For the full copyright and license information, please view the LICENSE
7+
* file that was distributed with this source code.
8+
*/
9+
310
if (!file_exists(__DIR__.'/src') || !file_exists(__DIR__.'/tests')) {
411
exit(0);
512
}
@@ -9,9 +16,10 @@
916
;
1017

1118
return (new PhpCsFixer\Config())
12-
->setRules(array(
19+
->setRules([
1320
'@Symfony' => true,
1421
'@Symfony:risky' => true,
22+
'phpdoc_to_comment' => false,
1523
'header_comment' => [
1624
'header' => <<<EOF
1725
This file is part of the SymfonyCasts ResetPasswordBundle package.
@@ -22,7 +30,7 @@
2230
],
2331
// Because of the commented out argument in ResetPasswordHelperInterface
2432
'no_superfluous_phpdoc_tags' => false,
25-
))
33+
])
2634
->setRiskyAllowed(true)
2735
->setFinder($finder)
2836
;

0 commit comments

Comments
 (0)