You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In FuncProxy, the functions verifyInvoked, verifyInvokedOnce, verifyNeverInvoked and verifyInvokedMultipleTimes all call the parent functions of the same name in Verifier.
These functions have different definitions than the parent functions they are extending, e.g. FuncProxy->verifyInvoked has arguments $params = null. But Verifier->verifyInvoked has arguments $name, $params = null
Isn't this a violation of E_STRICT error standard? I get this error trying to use test::func()
PHPUnit_Framework_Error_Notice : Declaration of AspectMock\Proxy\FuncProxy::verifyInvoked() should be compatible with AspectMock\Proxy\Verifier::verifyInvoked($name, $params = NULL)
The text was updated successfully, but these errors were encountered:
In FuncProxy, the functions
verifyInvoked
,verifyInvokedOnce
,verifyNeverInvoked
andverifyInvokedMultipleTimes
all call the parent functions of the same name in Verifier.These functions have different definitions than the parent functions they are extending, e.g.
FuncProxy->verifyInvoked
has arguments$params = null
. ButVerifier->verifyInvoked
has arguments$name, $params = null
Isn't this a violation of E_STRICT error standard? I get this error trying to use
test::func()
PHPUnit_Framework_Error_Notice : Declaration of AspectMock\Proxy\FuncProxy::verifyInvoked() should be compatible with AspectMock\Proxy\Verifier::verifyInvoked($name, $params = NULL)
The text was updated successfully, but these errors were encountered: