diff --git a/.php_cs.dist b/.php_cs.dist index 2e9997f..ae626c8 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -1,5 +1,14 @@ + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + $header = <<<'EOF' This file is part of PHP DNS Server. @@ -17,12 +26,13 @@ $finder = PhpCsFixer\Finder::create() $config = PhpCsFixer\Config::create() ->setRiskyAllowed(true) - ->setRules(array( + ->setRules([ '@Symfony' => true, - 'header_comment' => array('header' => $header), - 'array_syntax' => array('syntax' => 'short'), - )) + 'header_comment' => ['header' => $header], + 'array_syntax' => ['syntax' => 'short'], + 'no_superfluous_phpdoc_tags' => false, + ]) ->setFinder($finder) ; -return $config; \ No newline at end of file +return $config;