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
nette.configurator/Container_2f7bddb5fb.php.meta: Failed to open stream: No such file or directory #269
Comments
//cc @ondrejmirtes |
If it's only occasionally, I would consider it a success on Windows :-) |
I once solved some similar locking problem under Windows, but never actually found a satisfactory solution. It stayed with this experiment: https://github.com/nette/di/tree/lock-windows |
could you elaborate why you think the reported issue is a locking problem? |
I misunderstood. It's not about the locks. I'm looking at it now, and the line where the meta file is read has suppressed errors: Line 95 in 0ada460
So no error can trigger there. If it does, it's a PHP (or opcache) error. So maybe disabling opcache will help. |
It must not trigger error, when @ is used. I guess, some error handler, source of ParanoidErrorException, does not respect that. |
good point. with your hint I was actually able to fix a problem in the error handling which made the fixed a |
Version: 3.0.5 (which is bundled within phpstan)
running windows11x64, but have seen similar errors on windows10 before.
Bug Description
running phpstan 0.12.99 I am getting php warnings from time to time.
I am not 100% able to reproduce it every time.
the stacktrace is
Steps To Reproduce
run phpstan on a project on a windows machine.
Expected Behavior
no warnings
Possible Solution
not sure whether the di-container is missing a
is_file
check before reading from disc?The text was updated successfully, but these errors were encountered: