umanit/coding-standard

UmanIT PHP Coding Standard

Installs: 7

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:phpcodesniffer-standard

1.0.0 2025-09-26 16:52 UTC

This package is auto-updated.

Last update: 2025-09-26 16:53:41 UTC


README

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 @todo annotation and forbid other ones like TODO, FIXME or XXX.

Usage

Edit your phpcs.xml file to include the following:

<rule ref="UmanITCodingStandard" />