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.1"
| 包名 | 版本要求 |
|---|---|
| php | >=5.4 |
| php-mock/integration | ^0.2 |
| phpunit/phpunit | ^4 |
| 包名 | 版本要求 |
|---|---|
| mockery/mockery | ^0.9 |
| 许可证 | WTFPL |
|---|---|
| 发布时间 | 2015-04-01 22:26:40 |
| 类型 | library |