Coding Standards for Shine United Projects
All projects should include the ShineUnited standard in there codesniffer configuration. This is largly a modification of the PSR12 coding standard.
<rule ref="ShineUnited" />
Requires all parameters, returns and properties to be type hinted.
<rule ref="ShineUnited-RequireTypeHints" />
Requires strict_types=1 to be declared in all php files.
<rule ref="ShineUnited-RequireStrictTypes" />
Requires comments for files, classes and most functions.
<rule ref="ShineUnitedRequireComments" />