-
Notifications
You must be signed in to change notification settings - Fork 156
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
Please use PHPStan #618
Comments
Hi! Can you double-check the command provided?
|
This is surreal. 14/14: all files are checked 😲 I cannot find the reason why there are no errors. |
I fully suspect it's related to my environment somehow :) Thank you for the PR, it should be enough to review the changes and have them merged without issue. (we'll need to get the GitHub actions working prior to merge however, to ensure no regressions. I'm not requesting you do that, unless you feel like it!) |
I'm contributing to PHPStan for years and I have no clue what is going on! |
PHPstan reporting and internal cache is the only unreliably thing I haven't been able to solve. |
Please do report your findings. |
@szepeviktor I got the same results out of the box on my local PHP 7.4: Turns out it is running out of memory and exiting silently. Adding the
|
@kasparsd This is shockingly low. In Debian on PHP-CLI the default is unlimited memory for PHP. |
@szepeviktor The core issue is that doesn't fail with that memory error on the first run. It somehow thinks every is a pass and then returns that cached result. |
@ondrejmirtes Could you help us with an advice? |
@szepeviktor Hey, I'm not going to read the whole thread and trying to figure out what you're asking me. Please open a GitHub discussion and provide the full context. Thanks. |
Describe the bug
There are nasty things in the code, e.g.
return parent::__construct();
Steps to Reproduce
The simplest way.
The text was updated successfully, but these errors were encountered: