Releases: inpsyde/objects-hooks-remover
Releases · inpsyde/objects-hooks-remover
v1.0.0
Changed
- Modernize the codebase to support recent PHP versions and up-to-date Syde coding standards.
- Move logic from the
utils.php
file to an internalFunctions
class (all-static, only for encapsulation and autoload). - Modernize QA:
- Move out from Travis to GitHub actions.
- Rewrite tests, update the PHPUnit version. Tests now include the real WordPress functions instead of stubs.
- Added static analysis.
- In
remove_closure_hook()
it is now possible to use"mixed"
as the target parameter type when the closure param declares no type. - License change from MIT to GPL due to usage of WordPress functions.
- README refresh.
Added
- Introduced
remove_all_object_hooks()
. - Introduced
remove_static_method_hook()
to replace the now deprecatedremove_class_hook()
(which is converted to an alias).