Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.
composer require php-mock/php-mock-phpunitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Mock the time() function in a specific namespace
Ensure the tested code uses the function without leading backslash
No dependency data recorded yet.