diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index f4220643..804e322d 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -1,5 +1,12 @@ + * 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); } @@ -9,9 +16,10 @@ ; return (new PhpCsFixer\Config()) - ->setRules(array( + ->setRules([ '@Symfony' => true, '@Symfony:risky' => true, + 'phpdoc_to_comment' => false, 'header_comment' => [ 'header' => << false, - )) + ]) ->setRiskyAllowed(true) ->setFinder($finder) ;