Closed ghostwriter closed 1 year ago
Thank you for your report!
We'll need an isolated failing demo link from: http://getrector.org/demo, that way we can reproduce the bug.
@TomasVotruba thanks for looking into this.
Here is the isolated failing demo link you requested. https://getrector.com/demo/3be3c0d9-dbea-4e1d-8c59-ea7fa84c4440
@ghostwriter you can click "Create a Test" button next to create fixture file for failing test case, would be better if you can provide a patch as well ;)
Sure, I'll send a PR with a fix.
Bug Report
^0.17.1
composer
Minimal PHP Code Causing Issue
See https://getrector.com/demo/3be3c0d9-dbea-4e1d-8c59-ea7fa84c4440
Responsible rules
AssertTrueFalseToSpecificMethodRector
Expected Behavior
to remain unchanged.