PHPUnit 10 and static dataProvider #9070
-
hey there 👋 I am adding a new custom return type extension to our project and also wrote a test for it. Like described here: https://phpstan.org/developing-extensions/testing#type-inference The problem I am facing now is, that we need to make all dataProviders Thanks for the help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
encountered this myself today, would be great if phpstan supported phpunit10 if possible |
Beta Was this translation helpful? Give feedback.
-
Should be fine now: phpstan/phpstan-src@ea2670a Also make sure to update phpstan-strict-rules to 1.5.1 (if you use it) because of: phpstan/phpstan-strict-rules@b21c03d |
Beta Was this translation helpful? Give feedback.
Should be fine now: phpstan/phpstan-src@ea2670a
Also make sure to update phpstan-strict-rules to 1.5.1 (if you use it) because of: phpstan/phpstan-strict-rules@b21c03d