Tags: doctrine/annotations
Tags
This release introduces a PHP version bump. `doctrine/annotations` no… …w requires PHP 5.6 or later to be installed. A series of additional improvements have been introduced: * support for PHP 7 "grouped use statements" * support for ignoring entire namespace names via `Doctrine\Common\Annotations\AnnotationReader::addGlobalIgnoredNamespace()` and `Doctrine\Common\Annotations\DocParser::setIgnoredAnnotationNamespaces()`. This will allow you to ignore annotations from namespaces that you cannot autoload * testing all parent classes and interfaces when checking if the annotation cache in the `CachedReader` is fresh * simplifying the cache keys used by the `CachedReader`: keys are no longer artificially namespaced, since `Doctrine\Common\Cache` already supports that * corrected parsing of multibyte strings when `mbstring.func_overload` is enabled * corrected parsing of annotations when `"\t"` is put before the first annotation in a docblock * allow skipping non-imported annotations when a custom `DocParser` is passed to the `AnnotationReader` constructor Total issues resolved: **15** - [45: DocParser can now ignore whole namespaces](#45) - [57: Switch to the docker-based infrastructure on Travis](#57) - [59: opcache.load_comments has been removed from PHP 7](#59) - [62: [CachedReader\ Test traits and parent class to see if cache is fresh](#62) - [65: Remove cache salt making key unnecessarily long](#65) - [66: Fix of incorrect parsing multibyte strings](#66) - [68: Annotations that are indented by tab are not processed.](#68) - [69: Support for Group Use Statements](#69) - [70: Allow tab character before first annotation in DocBlock](#70) - [74: Ignore not registered annotations fix](#74) - [92: Added tests for AnnotationRegistry class.](#92) - [96: Fix/#62 check trait and parent class ttl in annotations](#96) - [97: Feature - #45 - allow ignoring entire namespaces](#97) - [98: Enhancement/#65 remove cache salt from cached reader](#98) - [99: Fix - #70 - allow tab character before first annotation in docblock](#99)
[](https://travis-ci.org/doctrine/annotations) Total issues resolved: **1** - [51: FileCacheReader::saveCacheFile::unlink fix](#51)
[](https://travis-ci.org/doctrine/annotations) Total issues resolved: [**2**](https://github.com/doctrine/annotations/milestones/v1.2.3) - [49: #46 - applying correct `chmod()` to generated cache file](#49) - [50: Hotfix: match escaped quotes (revert #44)](#50)
[](https://travis-ci.org/doctrine/annotations) Total issues resolved: **4** - [43: Exclude files from distribution with .gitattributes](#43) - [44: Update DocLexer.php](#44) - [46: A plain "file_put_contents" can cause havoc](#46) - [48: Deprecating the `FileCacheReader` in 1.2.2: will be removed in 2.0.0](#48)
[](https://travis-ci.org/doctrine/annotations) Total issues resolved: **4** - [38: fixes doctrine/common#326](#38) - [39: Remove superfluous NS](#39) - [41: Warn if load_comments is not enabled.](#41) - [42: Clean up unused uses](#42)
Total issues resolved: **21** [](https://travis-ci.org/doctrine/annotations) - [1: Documentation fixes](#1) - [7: Moving phpunit task from before_script to script in .travis.yml](#7) - [9: Workaround PHP compiler globals storing doc_comments](#9) - [11: allow for dangling comma](#11) - [13: add phpstorms annotation @noinspection to global ignore names](#13) - [15: Fixed warnings (in PhpStorm) in tests](#15) - [16: .travis.yml - add PHP 5.5](#16) - [18: DCOM-151 - DocParser should not attempt autoloading excluded annotations](#18) - [19: DCOM-179 - Underscore at the end of a label is not working with annotations](#19) - [21: Set `1.1-dev` as dev-master alias instead of `1.0.*-dev`](#21) - [22: Use namespace from traits](#22) - [23: Add LICENSE file](#23) - [25: setIgnoreNotImportedAnnotations(true) didn’t work for existing classes.](#25) - [26: Fixed HHVM build as allowed failure.](#26) - [27: DDC-3006: @target isn't properly bitmasked](#27) - [28: Fix most common parsing failures when @ is present in the docblock but not for an annotation](#28) - [30: [DCOM-240] Dirs only need to be writable, when we are performing a write.](#30) - [31: Added phpunit as a dev dependency](#31) - [33: add supporting php 5.5 ::class constant](#33) - [34: Ignored @startuml and @stopuml annotations](#34) - [35: DCOM-243 Added check for Zend OPcache extenstion](#35)