sajad torkamani

PSR-12 provides a more extensive coding standard that extends PSR-1.

Example standards include:

  • All PHP files must use the Unix LF (linefeed) line ending only.
  • The closing ?> tag must be omitted from files containing only PHP.
  • Code must be indented using 4 spaces for each indent level. Tabs should not be used.
Tagged: PHP