We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got : Avoid assigning values to variables in if clauses and the like (line '38', column '78').
Got: Avoid assigning values to variables in if clauses and the like (line '78', column '38').
Raise a IfStatementAssignment violation
As seen here :
phpmd/src/main/resources/rulesets/cleancode.xml
Line 73 in 3a82eab
Here:
phpmd/src/main/php/PHPMD/Rule/CleanCode/IfStatementAssignment.php
Line 125 in d68e511
I don't really if we are supposed the fix the message or the code
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Current Behavior
Got :
Avoid assigning values to variables in if clauses and the like (line '38', column '78').
Expected Behavior
Got:
Avoid assigning values to variables in if clauses and the like (line '78', column '38').
Steps To Reproduce:
Raise a IfStatementAssignment violation
As seen here :
phpmd/src/main/resources/rulesets/cleancode.xml
Line 73 in 3a82eab
Here:
phpmd/src/main/php/PHPMD/Rule/CleanCode/IfStatementAssignment.php
Line 125 in d68e511
I don't really if we are supposed the fix the message or the code
The text was updated successfully, but these errors were encountered: