├── .github ├── copilot-instructions.md ├── dependabot.yml └── workflows │ └── phpunit.yml ├── .gitignore ├── .scrutinizer.yml ├── LICENSE ├── README.md ├── composer.json ├── docs ├── README.md ├── reflection_class.md ├── reflection_file.md ├── reflection_file_namespace.md ├── reflection_function.md ├── reflection_method.md ├── reflection_parameter.md ├── reflection_property.md └── reflection_type.md ├── nitpick.json ├── phpunit.xml.dist ├── rector.php ├── src ├── Instrument │ └── PathResolver.php ├── Locator │ ├── CallableLocator.php │ └── ComposerLocator.php ├── LocatorInterface.php ├── NodeVisitor │ ├── GeneratorDetector.php │ ├── RootNamespaceNormalizer.php │ └── StaticVariablesCollector.php ├── ReflectionAttribute.php ├── ReflectionClass.php ├── ReflectionClassConstant.php ├── ReflectionEngine.php ├── ReflectionException.php ├── ReflectionFile.php ├── ReflectionFileNamespace.php ├── ReflectionFunction.php ├── ReflectionIntersectionType.php ├── ReflectionMethod.php ├── ReflectionNamedType.php ├── ReflectionParameter.php ├── ReflectionProperty.php ├── ReflectionType.php ├── ReflectionUnionType.php ├── Resolver │ ├── NodeExpressionResolver.php │ └── TypeExpressionResolver.php ├── Traits │ ├── AttributeResolverTrait.php │ ├── InitializationTrait.php │ ├── InternalPropertiesEmulationTrait.php │ ├── ReflectionClassLikeTrait.php │ └── ReflectionFunctionLikeTrait.php └── bootstrap.php └── tests ├── AbstractTestCase.php ├── Locator ├── CallableLocatorTest.php └── ComposerLocatorTest.php ├── ReflectionAttributesTest.php ├── ReflectionClassConstantTest.php ├── ReflectionClassTest.php ├── ReflectionFileNamespaceTest.php ├── ReflectionFileTest.php ├── ReflectionFunctionTest.php ├── ReflectionMethodTest.php ├── ReflectionParameterTest.php ├── ReflectionPropertyTest.php ├── ReflectionTypeTest.php ├── Resolver └── NodeExpressionResolverTest.php └── Stub ├── FileWithClasses55.php ├── FileWithClasses56.php ├── FileWithClasses70.php ├── FileWithClasses71.php ├── FileWithClasses72.php ├── FileWithClasses74.php ├── FileWithClasses80.php ├── FileWithClasses81.php ├── FileWithClasses82.php ├── FileWithClasses83.php ├── FileWithClasses84.php ├── FileWithFunction80.php ├── FileWithFunctions55.php ├── FileWithFunctions70.php ├── FileWithGlobalNamespace.php ├── FileWithNamespaces.php ├── FileWithNewExpressionDefaults.php ├── FileWithParameters55.php ├── FileWithParameters56.php ├── FileWithParameters70.php ├── FileWithParameters80.php ├── Issue44 ├── ClassWithNamespace.php ├── ClassWithoutNamespace.php └── Locator.php └── RandomClassWithAttribute.php /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/phpunit.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/.github/workflows/phpunit.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /vendor/ 2 | composer.lock 3 | /.phpunit.result.cache 4 | *.zip -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/.scrutinizer.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/composer.json -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/docs/README.md -------------------------------------------------------------------------------- /docs/reflection_class.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/docs/reflection_class.md -------------------------------------------------------------------------------- /docs/reflection_file.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/docs/reflection_file.md -------------------------------------------------------------------------------- /docs/reflection_file_namespace.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/docs/reflection_file_namespace.md -------------------------------------------------------------------------------- /docs/reflection_function.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/docs/reflection_function.md -------------------------------------------------------------------------------- /docs/reflection_method.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/docs/reflection_method.md -------------------------------------------------------------------------------- /docs/reflection_parameter.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/docs/reflection_parameter.md -------------------------------------------------------------------------------- /docs/reflection_property.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/docs/reflection_property.md -------------------------------------------------------------------------------- /docs/reflection_type.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/docs/reflection_type.md -------------------------------------------------------------------------------- /nitpick.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/nitpick.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /rector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/rector.php -------------------------------------------------------------------------------- /src/Instrument/PathResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/Instrument/PathResolver.php -------------------------------------------------------------------------------- /src/Locator/CallableLocator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/Locator/CallableLocator.php -------------------------------------------------------------------------------- /src/Locator/ComposerLocator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/Locator/ComposerLocator.php -------------------------------------------------------------------------------- /src/LocatorInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/LocatorInterface.php -------------------------------------------------------------------------------- /src/NodeVisitor/GeneratorDetector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/NodeVisitor/GeneratorDetector.php -------------------------------------------------------------------------------- /src/NodeVisitor/RootNamespaceNormalizer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/NodeVisitor/RootNamespaceNormalizer.php -------------------------------------------------------------------------------- /src/NodeVisitor/StaticVariablesCollector.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/NodeVisitor/StaticVariablesCollector.php -------------------------------------------------------------------------------- /src/ReflectionAttribute.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionAttribute.php -------------------------------------------------------------------------------- /src/ReflectionClass.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionClass.php -------------------------------------------------------------------------------- /src/ReflectionClassConstant.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionClassConstant.php -------------------------------------------------------------------------------- /src/ReflectionEngine.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionEngine.php -------------------------------------------------------------------------------- /src/ReflectionException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionException.php -------------------------------------------------------------------------------- /src/ReflectionFile.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionFile.php -------------------------------------------------------------------------------- /src/ReflectionFileNamespace.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionFileNamespace.php -------------------------------------------------------------------------------- /src/ReflectionFunction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionFunction.php -------------------------------------------------------------------------------- /src/ReflectionIntersectionType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionIntersectionType.php -------------------------------------------------------------------------------- /src/ReflectionMethod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionMethod.php -------------------------------------------------------------------------------- /src/ReflectionNamedType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionNamedType.php -------------------------------------------------------------------------------- /src/ReflectionParameter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionParameter.php -------------------------------------------------------------------------------- /src/ReflectionProperty.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionProperty.php -------------------------------------------------------------------------------- /src/ReflectionType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionType.php -------------------------------------------------------------------------------- /src/ReflectionUnionType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/ReflectionUnionType.php -------------------------------------------------------------------------------- /src/Resolver/NodeExpressionResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/Resolver/NodeExpressionResolver.php -------------------------------------------------------------------------------- /src/Resolver/TypeExpressionResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/Resolver/TypeExpressionResolver.php -------------------------------------------------------------------------------- /src/Traits/AttributeResolverTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/Traits/AttributeResolverTrait.php -------------------------------------------------------------------------------- /src/Traits/InitializationTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/Traits/InitializationTrait.php -------------------------------------------------------------------------------- /src/Traits/InternalPropertiesEmulationTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/Traits/InternalPropertiesEmulationTrait.php -------------------------------------------------------------------------------- /src/Traits/ReflectionClassLikeTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/Traits/ReflectionClassLikeTrait.php -------------------------------------------------------------------------------- /src/Traits/ReflectionFunctionLikeTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/Traits/ReflectionFunctionLikeTrait.php -------------------------------------------------------------------------------- /src/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/src/bootstrap.php -------------------------------------------------------------------------------- /tests/AbstractTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/AbstractTestCase.php -------------------------------------------------------------------------------- /tests/Locator/CallableLocatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Locator/CallableLocatorTest.php -------------------------------------------------------------------------------- /tests/Locator/ComposerLocatorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Locator/ComposerLocatorTest.php -------------------------------------------------------------------------------- /tests/ReflectionAttributesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/ReflectionAttributesTest.php -------------------------------------------------------------------------------- /tests/ReflectionClassConstantTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/ReflectionClassConstantTest.php -------------------------------------------------------------------------------- /tests/ReflectionClassTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/ReflectionClassTest.php -------------------------------------------------------------------------------- /tests/ReflectionFileNamespaceTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/ReflectionFileNamespaceTest.php -------------------------------------------------------------------------------- /tests/ReflectionFileTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/ReflectionFileTest.php -------------------------------------------------------------------------------- /tests/ReflectionFunctionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/ReflectionFunctionTest.php -------------------------------------------------------------------------------- /tests/ReflectionMethodTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/ReflectionMethodTest.php -------------------------------------------------------------------------------- /tests/ReflectionParameterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/ReflectionParameterTest.php -------------------------------------------------------------------------------- /tests/ReflectionPropertyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/ReflectionPropertyTest.php -------------------------------------------------------------------------------- /tests/ReflectionTypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/ReflectionTypeTest.php -------------------------------------------------------------------------------- /tests/Resolver/NodeExpressionResolverTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Resolver/NodeExpressionResolverTest.php -------------------------------------------------------------------------------- /tests/Stub/FileWithClasses55.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithClasses55.php -------------------------------------------------------------------------------- /tests/Stub/FileWithClasses56.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithClasses56.php -------------------------------------------------------------------------------- /tests/Stub/FileWithClasses70.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithClasses70.php -------------------------------------------------------------------------------- /tests/Stub/FileWithClasses71.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithClasses71.php -------------------------------------------------------------------------------- /tests/Stub/FileWithClasses72.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithClasses72.php -------------------------------------------------------------------------------- /tests/Stub/FileWithClasses74.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithClasses74.php -------------------------------------------------------------------------------- /tests/Stub/FileWithClasses80.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithClasses80.php -------------------------------------------------------------------------------- /tests/Stub/FileWithClasses81.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithClasses81.php -------------------------------------------------------------------------------- /tests/Stub/FileWithClasses82.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithClasses82.php -------------------------------------------------------------------------------- /tests/Stub/FileWithClasses83.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithClasses83.php -------------------------------------------------------------------------------- /tests/Stub/FileWithClasses84.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithClasses84.php -------------------------------------------------------------------------------- /tests/Stub/FileWithFunction80.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithFunction80.php -------------------------------------------------------------------------------- /tests/Stub/FileWithFunctions55.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithFunctions55.php -------------------------------------------------------------------------------- /tests/Stub/FileWithFunctions70.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithFunctions70.php -------------------------------------------------------------------------------- /tests/Stub/FileWithGlobalNamespace.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithGlobalNamespace.php -------------------------------------------------------------------------------- /tests/Stub/FileWithNamespaces.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithNamespaces.php -------------------------------------------------------------------------------- /tests/Stub/FileWithNewExpressionDefaults.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithNewExpressionDefaults.php -------------------------------------------------------------------------------- /tests/Stub/FileWithParameters55.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithParameters55.php -------------------------------------------------------------------------------- /tests/Stub/FileWithParameters56.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithParameters56.php -------------------------------------------------------------------------------- /tests/Stub/FileWithParameters70.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithParameters70.php -------------------------------------------------------------------------------- /tests/Stub/FileWithParameters80.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/FileWithParameters80.php -------------------------------------------------------------------------------- /tests/Stub/Issue44/ClassWithNamespace.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/Issue44/ClassWithNamespace.php -------------------------------------------------------------------------------- /tests/Stub/Issue44/ClassWithoutNamespace.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/Issue44/ClassWithoutNamespace.php -------------------------------------------------------------------------------- /tests/Stub/Issue44/Locator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/Issue44/Locator.php -------------------------------------------------------------------------------- /tests/Stub/RandomClassWithAttribute.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/goaop/parser-reflection/HEAD/tests/Stub/RandomClassWithAttribute.php --------------------------------------------------------------------------------