Mosquitto-PHP icon indicating copy to clipboard operation
Mosquitto-PHP copied to clipboard

PHP Static Analysis errors

Open zarubik opened this issue 8 years ago • 1 comments

I got this error when running PHP Static Analysis Tool (phpstan)

Method Mosquitto\Client::connect() invoked with 3 parameters, 4 Method Mosquitto\Client::loop() invoked with 0 parameters, 2 required. Access to an undefined property Mosquitto\Message::$topic ...

It possible to replace ZEND_BEGIN_ARG_INFO by ZEND_BEGIN_ARG_INFO_EX ?

zarubik avatar Sep 20 '17 07:09 zarubik

Hi, I'll have a look into that I seem to recall that using ZEND_BEGIN_ARG_INFO_EX gave me two warnings in particular cases, which is why I reverted it, but that might not be a problem in PHP 7.0+.

mgdm avatar Nov 25 '17 18:11 mgdm