The \PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes() method is called statically. See the implementation in the PHPStan source code here: PHPStan TypeInferenceTestCase.php line 118-120.
We have updated the minimum required version from 1.10.0 to 1.10.31. In version 1.10.0, it was still called dynamically, as can be seen here: PHPStan TypeInferenceTestCase.php line 81-83."
The
\PHPStan\Testing\TypeInferenceTestCase::gatherAssertTypes()
method is called statically. See the implementation in the PHPStan source code here: PHPStan TypeInferenceTestCase.php line 118-120.We have updated the minimum required version from 1.10.0 to 1.10.31. In version 1.10.0, it was still called dynamically, as can be seen here: PHPStan TypeInferenceTestCase.php line 81-83."