mirror of
https://github.com/doctrine/reflection.git
synced 2026-03-24 08:42:07 +01:00
[PR #26] [MERGED] Fix reading docblocks for classes containing anonymous classes #36
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/reflection/pull/26
Author: @sspat
Created: 12/3/2019
Status: ✅ Merged
Merged: 12/3/2019
Merged by: @alcaeus
Base:
master← Head:fix_annotation_parsing_for_classes_creating_anon_classes📝 Commits (1)
512a4f0Fix for issue [PR #8] [MERGED] Add ext-tokenizer and doctrine/annotations as dependencies (#19)📊 Changes
3 files changed (+23 additions, -1 deletions)
View changed files
📝
lib/Doctrine/Common/Reflection/StaticReflectionParser.php(+2 -1)➕
tests/Doctrine/Tests/Common/Reflection/AnnotationClassWithAnonymousClass.php(+19 -0)📝
tests/Doctrine/Tests/Common/Reflection/StaticReflectionParserTest.php(+2 -0)📄 Description
Fixes #19.
The tests were taken from https://github.com/doctrine/reflection/pull/20 by @xopoc14
I'm not shure that it's correct to copy the code from another PR, if there is a better way doing a fix based on a test from another PR - please guide me how to do it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.