In Laravel you reach for Storage::fake() to keep tests from writing real files. ...
Joel Clermont @jclermont@phpc.social
In Laravel you reach for Storage::fake() to keep tests from writing real files. But what about code that uses raw fopen or fwrite? Here is the tool for that. #php #laravel https://masteringlaravel.io/daily/2026-07-23-how-to-keep-your-tests-off-the-real-filesystem