A custom ruleset for PHP_CodeSniffer including:
- Default PSR12 compliance.
- Prohibit usage of certain PHP functions.
- A bunch of rules from
slevomat/coding-standard. - A custom rule that forces usage of
@todoannotation and forbid other ones likeTODO,FIXMEorXXX.
Edit your phpcs.xml file to include the following:
<rule ref="UmanITCodingStandard" />