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-phpunit:2.13.0"
| 包名 | 版本要求 |
|---|---|
| php | >=7 |
| php-mock/php-mock-integration | ^3.0 |
| phpunit/phpunit | ^6 || ^7 || ^8 || ^9 || ^10.0.17 || ^11 || ^12.0.9 |
| 包名 | 版本要求 |
|---|---|
| mockery/mockery | ^1.3.6 |
| 许可证 | WTFPL |
|---|---|
| 发布时间 | 2025-03-19 20:58:51 |
| 类型 | library |