aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2017-08-21 10:21:35 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2017-08-21 10:21:35 +0200
commit3f57ff22be51a380a6118915def592c5c8feac14 (patch)
treee3e9b75a532f5387dfca5e68c4d0b77430f6db52
parent2e702123297d48df4237597fd63be51dd8ba0cbb (diff)
downloadDevtools-3f57ff22be51a380a6118915def592c5c8feac14.zip
Devtools-3f57ff22be51a380a6118915def592c5c8feac14.tar.gz
Devtools-3f57ff22be51a380a6118915def592c5c8feac14.tar.bz2
feat(cs) Remove `@copyright` annotation.
-rw-r--r--Resource/PHPCSFixer/Fixer/Copyright.php6
1 files changed, 1 insertions, 5 deletions
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 @@ class Copyright extends AbstractFixer
}
foreach ($annotations as $annotation) {
- $line = $docBlock->getLine($annotation->getStart());
- $line->setContent(
- ' * @copyright Copyright © 2007-' . $thisYear .
- ' Hoa community' . "\n"
- );
+ $annotation->remove();
}
$token->setContent($docBlock->getContent());