Date: Fri, 29 Mar 2024 10:15:27 +0000 (UTC)
Message-ID: <1075525292.108.1711707327867@node2041-mqi-confluence.web.inetsolutions.cloud>
Subject: Exported From Confluence
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_Part_107_2003025340.1711707327866"
------=_Part_107_2003025340.1711707327866
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Location: file:///C:/exported.html
Coding: Basics
Coding: Basics
PSR-12: Extende=
d Coding Style
- Namespaces and classes MUST follow an =E2=80=9Cautoloading=E2=80=9D 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 w=
hat it is (not simply $item, better $termEntryTig<=
/strong>)
- UTF-8
- Next file line delimiter: Unix
- Tabs: 4 Spaces
Link to PSR-12 article: https://www.php-fig.org/psr/psr-12=
/
Principles:
- YAGNI: You ain=E2=80=99t gonna need it (wiki)
- KISS: Keep It Simple, Stupid (wiki)
- DRY: Don=E2=80=99t Repeat Yourself (wik=
i)
- SOLID: (wiki)
- Single-Responsibility-Prinzip
- Ope=
n-Closed-Prinzip
- Liskovsches Substitutionsprinzip=
- Interface-Segregation-Prinzip
- Dependency-Inversion-Prinzip
------=_Part_107_2003025340.1711707327866--