PHP Extension Repository is a modern mirror of PECL website with Windows pre-build.
pecl
install uopz
User Operations for Zend
The uopz extension is focused on providing utilities to aid with unit testing PHP code.
It supports the following activities:
* Intercepting function execution
* Intercepting object creation
* Hooking into function execution
* Manipulation of function statics
* Manipulation of function flags
* Redefinition of constants
* Deletion of constants
* Runtime creation of functions and methods
Maintainer
Details
Stars: | 349 |
Issue openned: | 10 |
Downloads: | 741078 |
- Breaking change to uopz_set_mock: now behaves like the old test-helpers new overload
- Fixed redefine/undefine namespaced constants
- Fix flags being ignored when adding functions
- Remove executor hook for maximum compatibility
requires: