umanit/coding-standard

UmanIT PHP Coding Standard

Installs: 57

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:phpcodesniffer-standard

1.0.1 2025-09-30 13:53 UTC

This package is auto-updated.

Last update: 2025-09-30 13:55:44 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" />