-
-
Notifications
You must be signed in to change notification settings - Fork 2
Contributing
Emanuele Minotto edited this page Nov 28, 2024
·
6 revisions
Contributes must follow these rules:
- no vendors code, no namespaces, no global variables, new functions nor new classes (yes, I know, it's hard)
- every PHP functionality must be included in the
crystal.php
file - the PHP documentation is full of functionalities, use them!
- the code must be documented (one big file is hard to read, one big undocumented source is impossible to read)
- every pull request must be documented
- PECL extensions are allowed only if the existence is checked using
extension_loaded
and if the functionality doesn't have side effects but adds functionalities or improves the existing features