Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
feat(cs) Remove @copyright annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Aug 21, 2017
1 parent 2e70212 commit 3f57ff2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Resource/PHPCSFixer/Fixer/Copyright.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 3f57ff2

Please sign in to comment.