Closed alexander-schranz closed 1 year ago
Thanks 👍 seems almost finished 🎉
Do you need help with PHPStan or can you handle it?
I've cherry picked your rule and fixed the PHPStan errors here: https://github.com/rectorphp/rector-phpunit/pull/115
I made many small commits, so you can see how the rule can re-use existing helper methods.
Thank you for your work :+1: :clap:
@TomasVotruba Thx for fixing the open issues 👍
👍
fixes #83
This rule update the Mock PHPDoc correctly:
it depends on the call of
$this->prophesize
:Also
ObjectProphecy|MyClass
is upgraded toObjectProphecy<MyClass>
or other false typehints.