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:1.0.0"
| 包名 | 版本要求 |
|---|---|
| php | >=5.5 |
| php-mock/php-mock-integration | ^1 |
| phpunit/phpunit | ^4.0.0 || ^5.0.0 |
| 包名 | 版本要求 |
|---|---|
| mockery/mockery | ^0.9 |
| 许可证 | WTFPL |
|---|---|
| 发布时间 | 2015-10-27 21:49:43 |
| 类型 | library |