NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #350 most downloaded on Packagist
Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.
Latest stable
8.31.3
Last release 25 days ago
28 Oct 2026
Ships fairly regularly
a new release about every 4 weeks
Rarely documented
notes for 12 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
194 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
SlevomatCodingStandard.Classes.DisallowMultiConstantDefinition : Fixed false positive for commas inside parentheses (thanks to @mossy2100 )
SlevomatCodingStandard.Classes.DisallowMultiConstantDefinition: Fixed false positive for commas inside parentheses (thanks to @mossy2100)SlevomatCodingStandard.Classes.DisallowMultiConstantDefinition: Fixer keeps modifiers, type and indentation (thanks to @mossy2100)SlevomatCodingStandard.Functions.RequireMultiLineCall: Fix Unicode line length in multi-line call sniff (thanks to @sean0407)SlevomatCodingStandard.TypeHints.PropertyTypeHint: Check properties whose last modifier is readonly or asymmetric visibility (thanks to @youdie006)SlevomatCodingStandard.Classes.ClassStructure: Speedup (thanks to @Cayan)PropertyHelper: Speedup (thanks to @Cayan)TypeHintHelper: Speedup (thanks to @Cayan)SlevomatCodingStandard.Variables.UnusedVariable : Recognise fully-qualified \compact() and \get_defined_vars() (thanks to @ERuban )
Your coding agent can read these notes before it upgrades. Set up the MCP server →
SlevomatCodingStandard.Variables.UnusedVariable: Recognise fully-qualified \compact() and \get_defined_vars() (thanks to @ERuban)SlevomatCodingStandard.Variables.UnusedVariable: Fixed false positives for global variables (thanks to @Cayan)SlevomatCodingStandard.Functions.RequireSingleLineCall: Speedup (thanks to @Cayan)SlevomatCodingStandard.RequireSelfReference: Speedup (thanks to @Cayan)SlevomatCodingStandard.Classes.UnusedUsesSniff: Speedup (thanks to @Cayan)SlevomatCodingStandard.Complexity.Cognitive: Fixed nesting level for closures and arrow functions (thanks to @nicosp)SlevomatCodingStandard.TypeHints.DNFTypeHintFormat: shortNullable checks all annotationsSlevomatCodingStandard.Classes.ParentCall : Fixed false positive for parent calls after =>
SlevomatCodingStandard.Classes.ParentCall: Fixed false positive for parent calls after =>SlevomatCodingStandard.Classes.ParentCall: Fixed false positive for @parent::SlevomatCodingStandard.Classes.ReadonlyClass: Do not mark abstract class as readonly despite all promoted and body-property are mark as readonly (thanks to @kamil-zacek)SlevomatCodingStandard.Classes.ReadonlyClass : New options allowNonFinalClasses and ignoreTraits (thanks to @kamil-zacek )
SlevomatCodingStandard.Classes.ReadonlyClass: New options allowNonFinalClasses and ignoreTraits (thanks to @kamil-zacek)SlevomatCodingStandard.Functions.ArrowFunctionDeclaration: New options disallowReturnTypeHint (thanks to @simPod)SlevomatCodingStandard.Classes.ReadonlyClass : Do not require mark readonly class when class extends from another class (thanks o @kamil-zacek )
SlevomatCodingStandard.Classes.ReadonlyClass: Do not require mark readonly class when class extends from another class (thanks o @kamil-zacek)SlevomatCodingStandard.Classes.ReadonlyClass : For check to readonly class / promoted properties (thanks to @kamil-zacek )
SlevomatCodingStandard.Classes.ReadonlyClass: For check to readonly class / promoted properties (thanks to @kamil-zacek)SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: New options namespacesAllowedToUsePartially and namespacesRequiredToUsePartially (thanks to @Toflar)(Disallow|Require)TrailingComma sniffs to handle null parenthesis pointers (thanks to @HonzaCZ)SlevomatCodingStandard.TypeHints.DNFTypeHintFormat : New option enableForDocComments (thanks to @alleknalle )
SlevomatCodingStandard.TypeHints.DNFTypeHintFormat: New option enableForDocComments (thanks to @alleknalle)SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation: Option ignoredAnnotationNames now works for ConstFetchNode (thanks to @vojmani)SlevomatCodingStandard.ControlStructures.NewWithoutParentheses : Fix to allow empty parentheses when followed by member access operators for PHP 8.4+
SlevomatCodingStandard.ControlStructures.NewWithoutParentheses: Fix to allow empty parentheses when followed by member access operators for PHP 8.4+ chainingSlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly: Use existing alias (thanks to @Khartir)ReferencedNameHelper when processing fully-qualified names in strings (thanks to @AlexSkrypnyk)SlevomatCodingStandard.Classes.TraitUseOrder : New sniff (thanks to @h4kuna )
Fixed DocCommentHelper::findDocCommentOwnerPointer()
DocCommentHelper::findDocCommentOwnerPointer()#[Override] attribute (thanks to @greg0ire)Disable some errors for properties with #[Override] attribute (thanks to @kkmuffme )
SlevomatCodingStandard.Classes.ClassKeywordOrder : New sniff (thanks to @kamil-zacek )
SlevomatCodingStandard.Classes.ClassKeywordOrder: New sniff (thanks to @kamil-zacek)SlevomatCodingStandard.ControlStructures.RequireMultiLineTernaryOperator: Workaround for missing property hooks support in PHPCSNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.