-
-
Notifications
You must be signed in to change notification settings - Fork 863
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Probable memory leak #3702
Comments
How big is the |
22 000 originally, but reproduced & issue created with just 10 lines example. The problem is that the vendor class Model includes |
Could you explain this more clearly? First you're talking about a memory leak and then only about a trivial "class not found" message. I'd need a minimal reproducing repo with this problem in order to understand it. /cc @canvural does this ring a bell? Why isn't class Eloquent defined? Could it be defined as a class alias using these steps? https://phpstan.org/user-guide/discovering-symbols#class-aliases |
(Larastan actually boots the Laravel app up to some point in PHPStan bootstrap, so aliases are registered. Therefore I didn't see any error like this before.) |
Yeah, this is clearly running PHPStan on an installation without Larastan. |
You both rock! I wasn't sure if Rector is being able to run with it if used like this.
on this code.
I understand how this happens, obviously, because that's exactly why we do have ide helper to save us from this hell, but I suppose this is exactly the case larastan should solve, isn't it? I don't get what happened because before I switched from my Mac to Windows PC, these errors weren't present. I guess @canvural will for sure be more competent to reply here. I am truly sorry if this is the wrongest place to discuss such things, we can move elsewhere, if you want to provide with some help, just let me know! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Posted previously here: rectorphp/rector#3836
Any insight about it? I can provide as much info as possible if necessary to help nail down this bug.
The text was updated successfully, but these errors were encountered: