StubTests\Unit\Parsers\AST
Namespaces
Classes
Covers extraction of the deprecation version — #[Deprecated(since:)] and
@_deprecated <version> — into StubsMetadata::getDeprecatedSinceVersion().
Verifies that class-level attributes - in particular the #[Attribute(...)] target
flags - are captured on the parsed model with their arguments resolved to the same
evaluated values Reflection reports.
Tests for parsing class constants (not global constants).
Covers StubEnumParser, with emphasis on the PhpDoc/version metadata it used to discard.
Tests for parsing global constants (both modern const and define() syntax).