Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1.1 Variables:
1.2 Functions and Methods:
1.3 Classes:
1.4 Constants:
1.5 Interfaces:
1.7 Namespaces:
|
PSR-12: Extended Coding Style
- Namespaces and classes MUST follow an “autoloading” PSR-0, PSR-4
- Class names MUST be declared in StudlyCaps/PascalCase
- CONSTANTS MUST be declared in all upper case with underscore separators
- Method names MUST be declared in camelCase
- Variable names MUST be written in camelCase and the name describe for what it is (not simply $item, better $termEntryTig)
- UTF-8
- Next file line delimiter: Unix
- Tabs: 4 Spaces
...