You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=> Test is successful even though it shouldn't cause 9 is not equals to the expected value.
the result I get from the rector is already different from what's in the documentation. So I also checked if it would work with the result the documentation provides:
I saw
WithConsecutiveRector
added in #246 to the PHPUnit 10 rule set, and was keen to use it. But unfortunately, it's not working.I took the example from
tests/Rector/StmtsAwareInterface/WithConsecutiveRector/Fixture/some_class.php.inc
and defined PersonService like this:Original test:
=> Test fails as expected with:
after running the
WithConsecutiveRector
:=> Test is successful even though it shouldn't cause 9 is not equals to the expected value.
the result I get from the rector is already different from what's in the documentation. So I also checked if it would work with the result the documentation provides:
=> Test is successful again, even though it still shouldn't.
Let me know if I missed something. Otherwise, I've unfortunately no idea how to fix this rector.
The text was updated successfully, but these errors were encountered: