Closed jorgsowa closed 5 months ago
Rule InstanceOfComparisonRector doesn't work when we pass a variable as the second argument to operator instanceof. This PR fixes it.
InstanceOfComparisonRector
instanceof
You can fix CI by run:
vendor/bin/rector && composer fix-cs
Thank you @jorgsowa
Rule
InstanceOfComparisonRector
doesn't work when we pass a variable as the second argument to operatorinstanceof
. This PR fixes it.