I'm doing a redefinition of a method that will be loaded later during execution.
All is fine, but depending on functionnal reasons the file is not always included (only needed classes are loaded), then when execution is finished, I got a PHP User Warning saying:
PHP User Warning: 'my_patched_function' was never defined during the lifetime of its redefinition in .....\patchwork\src\Interceptor.php at line 43
How is it be possible to disable such warnings?
Thank you,
regards,
Tomolimo
Hello,
I'm doing a redefinition of a method that will be loaded later during execution. All is fine, but depending on functionnal reasons the file is not always included (only needed classes are loaded), then when execution is finished, I got a PHP User Warning saying:
How is it be possible to disable such warnings? Thank you, regards, Tomolimo