XMB Code Standards

From XMBdocs
Revision as of 09:14, 9 December 2024 by Miqrogroove (talk | contribs) (New page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Work toward adopting PSR-12 began in 2024. New XMB code contributions should conform to that document. Here are some of the highlights:

  • Line endings are Unix-style LF.
  • File endings are a single LF after the last non-blank line.
  • No trailing whitespace.
  • No space after an opening parenthesis.
  • No space before a closing parenthesis.
  • Indents consist of 4 spaces.