Blog

Revised Code Formatting Rules for 2.0+

After discussion with @logikal16, here are the new rules we’ll be enforcing on the Pods codebase. Shorthand Shorthand can get messy, so it’s permitted in simple cases. Here are the examples where Shorthand usage is permitted. if (0 < $variable || false !== $variable)     $do = ‘something’; else     $do = ‘something’; and $do = (0 …

Read more