Skip to content

Commit

Permalink
Replace "blacklist" terminology in docs with "ignore" as in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
albe authored Jun 7, 2020
1 parent 8fc7b23 commit f79d88a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/en/annotations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ Take a look at the following code snippet:
In this snippet you can see a variety of different docblock annotations:

- Documentation annotations such as ``@var`` and ``@author``. These
annotations are on a blacklist and never considered for throwing an
annotations are ignored and never considered for throwing an
exception due to wrongly used annotations.
- Annotations imported through use statements. The statement ``use
Doctrine\ORM\Mapping AS ORM`` makes all classes under that namespace
available as ``@ORM\ClassName``. Same goes for the import of
``@Assert``.
- The ``@dummy`` annotation. It is not a documentation annotation and
not blacklisted. For Doctrine Annotations it is not entirely clear how
not ignored. For Doctrine Annotations it is not entirely clear how
to handle this annotation. Depending on the configuration an exception
(unknown annotation) will be thrown when parsing this annotation.
- The fully qualified annotation ``@MyProject\Annotations\Foobarable``.
Expand Down Expand Up @@ -241,7 +241,7 @@ Ignoring missing exceptions
By default an exception is thrown from the ``AnnotationReader`` if an
annotation was found that:

- is not part of the blacklist of ignored "documentation annotations";
- is not part of the list of ignored "documentation annotations";
- was not imported through a use statement;
- is not a fully qualified class that exists.

Expand Down

0 comments on commit f79d88a

Please sign in to comment.