Integrate revamped CallbackValidator #6343
Labels
Category: Core
Related to internal functionality
Type: Enhancement
Contributes features or other improvements to PocketMine-MP
Description
A couple of months ago, I rewrote CallbackValidator, with an improved API and support for stuff like union and intersection types.
https://github.com/pmmp/CallbackValidator/tree/rewrite
However, these improvements required some BC breaks.
This is a problem, because we have no clear documentation of which dependency libraries are considered API and which aren't.
This means that plugins could have used the legacy CallbackValidator API directly instead of
Utils::validateCallableSignature()
.We have 2 choices:
Alternative methods
The text was updated successfully, but these errors were encountered: