This repository was archived by the owner on Jan 29, 2020. It is now read-only.
This repository was archived by the owner on Jan 29, 2020. It is now read-only.
Drop annotations support? #32
Closed
Description
I just skimmed through the codebase of ZF2 and couldn't find scenarios where the "base" annotation parser of zend-code is used in it, except for zend-di. We could probably get rid of the entire Zend\Code\Annotation
namespace.
While I realize that coming from me it sounds like I'm suggesting for people to just use doctrine/annotations
, this part of the codebase really lies unused, and is a relatively complex layer that just proxies through to doctrine/annotations
, in fact.
I propose deprecating it (probably 4.0) and dropping support for it in the subsequent major version. This allows us to also get rid of the zendframework/zend-eventmanager
dependency inside zend-code.