what I mean is that you are no introducing a dev requirement on Filesystem in several components (Config where you forgot to add it, Translation, HttpFoundation and Form). But the only code needing to use tempnam in them are the tests themselves, not the tested code. There is no need to make the phpunit testsuite compatible with environment with disabled functions IMO