Skip to content

Fix dynamic call to static method#208

Merged
szepeviktor merged 1 commit intoszepeviktor:masterfrom
IanDelMar:dynamic-call-static-method
Nov 2, 2023
Merged

Fix dynamic call to static method#208
szepeviktor merged 1 commit intoszepeviktor:masterfrom
IanDelMar:dynamic-call-static-method

Conversation

@IanDelMar
Copy link
Copy Markdown
Contributor

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."

@szepeviktor
Copy link
Copy Markdown
Owner

All right!

@szepeviktor szepeviktor merged commit b94988f into szepeviktor:master Nov 2, 2023
@IanDelMar IanDelMar deleted the dynamic-call-static-method branch June 28, 2024 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants