When I run tests in GitHub worklfow action on my Laravel project, I get this error from all PHPUnit tests:
Error: Call to a member function addContext() on null
The addContext()
function is not my custom function.
I didn’t changed the code, didn’t changed the tests, just made some irrelevant chanes in my pull request.
Is there any idea how can I solve this issue?
Maybe is it a version mismatch or some not well-tested upgrade in PHPUnit?
I don’t have any ide how to start solve it, so please help me some advice.