BetterReflection
BetterReflection copied to clipboard
:crystal_ball: Better Reflection is a reflection API that aims to improve and provide more features than PHP's built-in reflection API.
Hi, indirectly, via [phpstan user report](https://github.com/phpstan/phpstan/issues/7787), I found out that there is valid PHP code that triggers endless recursion in Better Reflection. E.g. circular class or interface extends statements like...
Bumps [phpstan/phpdoc-parser](https://github.com/phpstan/phpdoc-parser) from 1.6.4 to 1.7.0. Release notes Sourced from phpstan/phpdoc-parser's releases. 1.7.0 367a8d9 - Open 1.7.x 8e90757 - Update backward-compatibility.yml 06f491a - Update build.yml af74624 - Support properties/methods in...
- [ ] Remove `Roave\BetterReflection\Util\Autoload` https://github.com/Roave/BetterReflection/pull/1142 - [ ] Make `ReflectionEnum::__construct()` private https://github.com/Roave/BetterReflection/pull/1139 - [ ] Remove `ReflectionType::__construct()` and `ReflectionType::getOwner()` https://github.com/Roave/BetterReflection/pull/1140 - [ ] Remove adapter `ReflectionProperty::isAccessible()` https://github.com/Roave/BetterReflection/pull/1141
Fixes #932 I've started with 6.0.0 cleanup.
Hi, I'm in the process of reducing the memory amount consumed by PHPStan, and I have some promising results. Current stable version consumes ~850 MB when runing PHPStan on PHPStan....
AutoloadSourceLocator should know all symbols from a file once a class is autoloaded from that file
Let's say we have a file that looks like this: ```php class A { } function b() { } const C = 1; ``` Once the PHP runtime autoloads the...