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
<?php$a = null; // This is 'A'$b = null; // This is 'B'$b = true;
Responsible rules
RemoveDoubleAssignRector
Expected Behavior
Not sure about expected behavior, but first comment must be without changes.
Second comment may be deleted, transferred to next line, or stay without changes
<?php$a = null; // This is 'A'$b = true; // This is 'B'
Or maybe
<?php$a = null; // This is 'A'// This is 'B'$b = true;
Current Behavior
<?php$a = null; // This is 'B'$b = true;
The text was updated successfully, but these errors were encountered:
Bug Report
Minimal PHP Code Causing Issue
See https://getrector.com/demo/599f1d9f-535d-446b-ab8c-b909854be398
Responsible rules
RemoveDoubleAssignRector
Expected Behavior
Not sure about expected behavior, but first comment must be without changes.
Second comment may be deleted, transferred to next line, or stay without changes
Or maybe
Current Behavior
The text was updated successfully, but these errors were encountered: