Closed nightlinus closed 5 years ago
Thanks. I will modify it to check the mode instead of file existence.
I'd like if this fix could be released. Currently bypass-finals breaks PHPStan (because it saves .php
files).
I completely forgot about it, but it's out.
When using snapshot testing with bypass-finals we can see that file_put_contents wrapped not correct. This pr fix this by checking for file existance before reading content