Closed
Description
Rule
Use Yoda Conditions to avoid assignments inside a condition statement.
Reason
With Yoda Conditions it is not possible to assign a variable inside a condition statement, which improves the code quality because it prevents possible assignment errors.
Implementation
Some other Frameworks, such as Symfony, are using Yoda Conditions and have checks for them.