phpstan-prophecy icon indicating copy to clipboard operation
phpstan-prophecy copied to clipboard

phpspec/prophecy will be unbundled from phpunit/phpunit

Open localheinz opened this issue 4 years ago • 1 comments

For reference, see https://github.com/sebastianbergmann/phpunit/issues/4141.

localheinz avatar Mar 19 '20 15:03 localheinz

FTR: PHPUnit 9.1 deprecated the bundled methods. In order to get rid of the deprecation warnings, the phpspec/prophecy-phpunit dependency needs to be added and the new trait be used.

I really hope this extension can be updated to support the new setup. Looking forward to it!

InvisibleSmiley avatar Apr 21 '20 14:04 InvisibleSmiley

@jseparovic1 this should be closed as the trait from prophecy-phpunit is properly supported

stof avatar Mar 13 '24 15:03 stof

Closing this as using prophecy-phpunit trait since a longer time without any issues.

alexander-schranz avatar Mar 27 '24 08:03 alexander-schranz