# Slevomat Coding Standard

A collection of PHP_CodeSniffer sniffs that improve the safety and behavior of PHP code, detect dead code, and enforce consistent formatting.

Slevomat Coding Standard is a set of sniffs for PHP_CodeSniffer, grouped into three kinds: functional sniffs that improve the safety and behavior of code, cleaning sniffs that detect dead code, and formatting sniffs that keep code style consistent.

Many sniffs can fix the errors they report automatically, and some can be suppressed locally when a rule does not fit a particular line. The project documents each sniff alphabetically along with installation steps, how to choose or exclude sniffs when running PHP_CodeSniffer, how to fix errors automatically, and how to suppress a sniff locally.

It targets PHP 7 and PHP 8 codebases and is released under the MIT license.

Website: https://github.com/slevomat/coding-standard
