In reply to Ciprian Popescu.

Sure WordPress differs from PHPs coding standards in some nonsensical ways (yoda conditions, looking at you) but a lot of what WordPress does improves on what PHP provides. For example the escaping and sanitisation functions are all WordPress functions, not core PHP functions. If we just use PHP coding standards we would be going backwards and would be highly detrimental to the security of the entire ecosystem.