mirror of
https://github.com/cypht-org/cypht.git
synced 2026-04-24 20:46:04 +03:00
4
Contributing
Marc Laporte edited this page 2024-05-19 22:17:00 -04:00
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 :)