Skip to content
Marc Laporte edited this page May 20, 2024 · 4 revisions

See also: https://github.com/cypht-org/cypht/issues/999

We appreciate any and all contributions to the project from feedback to pull requests. Our code style rules are simple:

  • 4 space indent, no tabs (PHP + JS)
  • No newlines before opening "{" characters in functions and methods (PHP + JS)
  • Capital names with underscores for classes (My_Class) (PHP + JS)
  • Lowercase method and variable names with underscores (PHP + JS)
  • All conditionals must be followed with an explicit "{}" block (PHP + JS)

I always review pull requests before applying them, so if I see any issues I will contact the author, or if they are simple I will just clean it up myself :)