Open maykelsb opened 8 years ago
Technically phpDox will parse any OOP based PHP code just fine, regardless of namespaces or package annotations. If it fails some where, open a bug.
With regards to supporting @package as an (alternative?) to namespaces, I'd have to look into that. It's a completely different parsing approach since the namespace information is taken from the token stream (usually via the phpparser backend) whereas @package would require to use the annotation of the class.
Technically that sounds doable, but unfortunately i'm currently very busy and thus have not much time to work on phpDox so it might take some time to land.
It'd allow us to use phpdox with pre 5.3 code.