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.6.1"
| 包名 | 版本要求 |
|---|---|
| php | >=7 |
| php-mock/php-mock-integration | ^2.1 |
| phpunit/phpunit | ^6 || ^7 || ^8 || ^9 |
| 包名 | 版本要求 |
|---|---|
| phpspec/prophecy | ^1.10.3 |
| 许可证 | WTFPL |
|---|---|
| 发布时间 | 2022-09-07 20:40:07 |
| 类型 | library |