parser-reflection icon indicating copy to clipboard operation
parser-reflection copied to clipboard

Parser Reflection API - Provides source code analysis without loading classes into the PHP memory

Results 26 parser-reflection issues
Sort by recently updated
recently updated
newest added

Makes the bare minimum of changes to work with PHP 8.

Update package to version 3.0.0

I can not use this library in php >= 8 because there is reflection was modified (signature of methods in `ReflectionMethod` and `ReflectionClass`)

[//]: # (dependabot-start) ⚠️ **Dependabot Preview has been deactivated** ⚠️ This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to `dependabot`...

dependencies

Given code: ```php class Test { const A = -5; protected $a = -5; public function test($a = -5) {} } ``` All of these value cannot be parsed correctly...

Following constructions produce logic errors, so they are disabled. ```php class ClassWithTraitAndAdaptation { use SimpleTrait { foo as protected fooBar; foo as private fooBaz; } } class ClassWithTraitAndConflict { use...

Bug
PHP5.6

Please either support reading from flysystem, or add static method variants to `ReflectionEngine` that will take source code in a string instead of reading it from file. (Also please use...

support

During investigate https://github.com/goaop/parser-reflection/pull/83 I found that a snippet like ```php

I discovered a strange behaviour regardings classes which are already loaded / declared. ```php

Imagine I wanted to extend this library, and provide an alternative implementation for ReflectionParameter. To do this, I would also have to replace ReflectionFunctionLikeTrait, to replace the "new ReflectionParameter" with...

enhancement