## Commenting
#### SlevomatCodingStandard.Commenting.AnnotationName 🔧
Reports incorrect annotation name. It reports standard annotation names used by phpDocumentor, PHPUnit, PHPStan and Psalm by default.
Unknown annotation names are ignored.
Sniff provides the following settings:
* `annotations`: allows to configure which annotations are checked and how.
#### SlevomatCodingStandard.Commenting.DeprecatedAnnotationDeclaration
Reports `@deprecated` annotations without description.
#### SlevomatCodingStandard.Commenting.DisallowCommentAfterCode 🔧
Sniff disallows comments after code at the same line.
#### SlevomatCodingStandard.Commenting.ForbiddenAnnotations 🔧
Reports forbidden annotations. No annotations are forbidden by default, the configuration is completely up to the user. It's recommended to forbid obsolete and inappropriate annotations like:
* `@author`, `@created`, `@version`: we have version control systems.
* `@package`: we have namespaces.
* `@copyright`, `@license`: it's not necessary to repeat licensing information in each file.
* `@throws`: it's not possible to enforce this annotation and the information can become outdated.
Sniff provides the following settings:
* `forbiddenAnnotations`: allows to configure which annotations are forbidden to be used.
#### SlevomatCodingStandard.Commenting.ForbiddenComments 🔧
Reports forbidden comments in descriptions. Nothing is forbidden by default, the configuration is completely up to the user. It's recommended to forbid generated or inappropriate messages like:
* `Constructor.`
* `Created by PhpStorm.`
Sniff provides the following settings:
* `forbiddenCommentPatterns`: allows to configure which comments are forbidden to be used. This is an array of regular expressions (PCRE) with delimiters.
#### SlevomatCodingStandard.Commenting.DocCommentSpacing 🔧
Enforces configurable number of lines before first content (description or annotation), after last content (description or annotation),
between description and annotations, between two different annotation types (eg. between `@param` and `@return`).
Sniff provides the following settings:
* `linesCountBeforeFirstContent`: allows to configure the number of lines before first content (description or annotation).
* `linesCountBetweenDescriptionAndAnnotations`: allows to configure the number of lines between description and annotations.
* `linesCountBetweenDifferentAnnotationsTypes`: allows to configure the number of lines between two different annotation types.
* `linesCountBetweenAnnotationsGroups`: allows to configure the number of lines between annotation groups.
* `linesCountAfterLastContent`: allows to configure the number of lines after last content (description or annotation).
* `annotationsGroups`: allows to configure order of annotation groups and even order of annotations in every group. Supports prefixes, eg. `@ORM\`.
```xml