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
It doesn't seem like it's possible to mock SplFileInfo. The mock creates without complaint, but as soon as you try to call a method on the mock object, PHP throws a Fatal Exception:
LogicException: The parent constructor was not called: the object is in an invalid state
Hello,
It doesn't seem like it's possible to mock SplFileInfo. The mock creates without complaint, but as soon as you try to call a method on the mock object, PHP throws a Fatal Exception:
It looks like Mockery has the same issue: mockery/mockery#122
The text was updated successfully, but these errors were encountered: