rectorphp / rector-phpunit

Rector upgrade rules for PHPUnit
http://getrector.com
MIT License
61 stars 46 forks source link

WithConsecutiveRector was applied only to dynamic invocations count #306

Closed voronovvladimir closed 6 months ago

voronovvladimir commented 6 months ago

PR is intended to give ability to refactor withConsecutive when static invocation checker applied

According to PHPUnit there is no difference between static and non-static assertions but it sounds like invocation count checkers have the same ability and there is no difference between self::exactly and $this->exactly

TomasVotruba commented 6 months ago

Looks good, thank you :+1: