re: Why using Yoda conditions you should probably not be VIEW POST

VIEW FULL DISCUSSION

'Luke Skywalker' === $this->getName() is not relevant, indeed. This why you should not use it for this and only for this.

AFAIK, Symfony rules require yoda condition only if useful.

P.S.: I'm already far far away ! <3

code of conduct - report abuse