diff --git a/Resource/PHPCSFixer/Fixer/Copyright.php b/Resource/PHPCSFixer/Fixer/Copyright.php index c86ac9d..c1c71b2 100644 --- a/Resource/PHPCSFixer/Fixer/Copyright.php +++ b/Resource/PHPCSFixer/Fixer/Copyright.php @@ -78,11 +78,7 @@ function ($matches) use ($thisYear) { } foreach ($annotations as $annotation) { - $line = $docBlock->getLine($annotation->getStart()); - $line->setContent( - ' * @copyright Copyright © 2007-' . $thisYear . - ' Hoa community' . "\n" - ); + $annotation->remove(); } $token->setContent($docBlock->getContent());