|
@@ -45,7 +45,7 @@ final class FinalInternalClassFixer extends AbstractFixer implements Configurabl
|
|
|
);
|
|
|
|
|
|
if (\count($intersect)) {
|
|
|
- throw new InvalidFixerConfigurationException($this->getName(), sprintf('Annotation cannot be used in both the white- and black list, got duplicates: "%s".', implode('", "', array_keys($intersect))));
|
|
|
+ throw new InvalidFixerConfigurationException($this->getName(), sprintf('Annotation cannot be used in both the include and exclude list, got duplicates: "%s".', implode('", "', array_keys($intersect))));
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -206,7 +206,7 @@ final class FinalInternalClassFixer extends AbstractFixer implements Configurabl
|
|
|
$tag = strtolower(substr(array_shift($matches), 1));
|
|
|
foreach ($this->configuration['annotation_black_list'] as $tagStart => $true) {
|
|
|
if (0 === strpos($tag, $tagStart)) {
|
|
|
- return false; // ignore class: class-level PHPDoc contains tag that has been black listed through configuration
|
|
|
+ return false; // ignore class: class-level PHPDoc contains tag that has been excluded through configuration
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -215,7 +215,7 @@ final class FinalInternalClassFixer extends AbstractFixer implements Configurabl
|
|
|
|
|
|
foreach ($this->configuration['annotation_white_list'] as $tag => $true) {
|
|
|
if (!isset($tags[$tag])) {
|
|
|
- return false; // ignore class: class-level PHPDoc does not contain all tags that has been white listed through configuration
|
|
|
+ return false; // ignore class: class-level PHPDoc does not contain all tags that has been included through configuration
|
|
|
}
|
|
|
}
|
|
|
|