Skip to content

v1.0.0

Latest
Compare
Choose a tag to compare
@gmazzap gmazzap released this 20 May 17:08
· 2 commits to master since this release
782b914

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 internal Functions 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 deprecated remove_class_hook() (which is converted to an alias).