Closed oliverklee closed 9 months ago
I have no idea where the gatherAssertTypes
method comes from and would appreciate a pointer for that.
I have no idea where the
gatherAssertTypes
method comes from and would appreciate a pointer for that.
It's defined in the parent abstract class PHPStan\Testing\TypeInferenceTestCase
Ah, I see. For some reasons, my vendor
folder was excluded in my PhpStorm.
We probably need to update PHPStan so TypeInferenceTestCase::gatherAssertTypes
is static.
We probably need to update PHPStan so
TypeInferenceTestCase::gatherAssertTypes
is static.
Ok, then we've finally found a reason in increase the dependency version ;)
Then lets reopen https://github.com/sascha-egerer/phpstan-typo3/pull/148 ?
Ok also fine like that. Thanks
I'd like to bump only the PHPStan dependency then. PR coming …
Okay, assertFileAsserts
still is not static. We probably need to avoid calling it in a data provider. https://github.com/phpstan/phpstan-src/blob/1.11.x/src/Testing/TypeInferenceTestCase.php
Ah, wait …
Done: #150
Done: #150
this one is merged
Rebased and repushed.
Thanks! That was my bunch of changes for now. :-)
This is required in newer PHPUnit versions.