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:0.3.x-dev"
| 包名 | 版本要求 |
|---|---|
| php | >=5.4 |
| php-mock/php-mock-integration | ^0.4 |
| phpunit/phpunit | ^4.0.0 |
| 包名 | 版本要求 |
|---|---|
| mockery/mockery | ^0.9 |
| 许可证 | WTFPL |
|---|---|
| 发布时间 | 2016-08-12 20:55:04 |
| 类型 | library |