Marco Pivetta
Marco Pivetta
@DanielBadura since we now support `"php": "^8"`, beware that you will have to wait until `roave/better-reflection` is tagged with PHP 8 support for a potential merge of such a feature....
@landwire do you have a `composer.json` with an `"autoload"` section?
How are classes loaded in your project? As for "what to put in there", see https://getcomposer.org/doc/01-basic-usage.md#autoloading
Related? https://github.com/maglnet/ComposerRequireChecker/pull/141
@vudaltsov patches welcome: this should be easy to test, but unsure about the fix. I don't currently have capacity to work on this project within the next few months.
Looks like the right direction 👍
Reproduction should be a test case that can be integrated with this test suite. In https://github.com/Roave/BackwardCompatibilityCheck/blob/1.0.3/src/SourceLocator/StaticClassMapSourceLocator.php I implemented a source locator capable of working with any `composer dump-autoload -a` output...
@WDD-Marv we all do work as well, heh 😛 I think we might need a better abstraction for detecting files overall though: the current one is very much a hack.
@WDD-Marv no assumptions - everything should be based on AST. The best way to understand why it's not being picked up is with an isolated reproduction scenario that you reduce...
This can be avoided by moving the actual reflection logic to BetterReflection, which can already handle autoloading with edge cases and exotic autoloading mechanisms. As for the patch itself, I...