Once again I want to praise #PHPStorm 's Search & Replace by Regex feature, it's such a life saver! Using simple trick I was able to get rid of more than 2000 #PHPStan errors in our app in minutes - old code had `Foo|ObjectProphecy` types, where it should be `ObjectProphecy<Foo>`. Love it!
2 likes 0 replies
?