This release fix an issue were some annotations could be not loaded if the namespace in the use statement started with a backslash. It also update the tests and drop the support for php 5.X
This release fixes an issue with ignored annotations that were already
autoloaded, causing the SimpleAnnotationReader
to pick them up
anyway. #110
Additionally, an issue was fixed in the CachedReader
, which was
not correctly checking the freshness of cached annotations when
traits were defined on a class. #105
Total issues resolved: 2
This release introduces a PHP version bump. doctrine/annotations
now requires PHP
5.6 or later to be installed.
A series of additional improvements have been introduced:
Doctrine\Common\Annotations\AnnotationReader::addGlobalIgnoredNamespace()
and
Doctrine\Common\Annotations\DocParser::setIgnoredAnnotationNamespaces()
. This will
allow you to ignore annotations from namespaces that you cannot autoloadCachedReader
is freshCachedReader
: keys are no longer artificially
namespaced, since Doctrine\Common\Cache
already supports thatmbstring.func_overload
is enabled"\t"
is put before the first annotation
in a docblockDocParser
is passed to
the AnnotationReader
constructorTotal issues resolved: 15
Total issues resolved: 1
Total issues resolved: 2
chmod()
to generated cache fileTotal issues resolved: 4
FileCacheReader
in 1.2.2: will be removed in 2.0.0Total issues resolved: 4
::class
5.5-style constant, works also in 5.3 and 5.4