From dd4b2e074ae4d6762dcda663185bcd26dae80747 Mon Sep 17 00:00:00 2001 From: Henrik Gemal Date: Fri, 4 Aug 2023 13:02:27 +0200 Subject: [PATCH] Update namespaces.md --- doc/namespaces.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/namespaces.md b/doc/namespaces.md index fade31591..3c5d6cd69 100644 --- a/doc/namespaces.md +++ b/doc/namespaces.md @@ -84,6 +84,10 @@ Sniff provides the following settings: Enforces fully qualified names of classes and interfaces in phpDocs - in annotations. This results in unambiguous phpDocs. +Sniff provides the following settings: + +* `ignoredAnnotationNames`: case-sensitive list of annotation names that the sniff should ignore. Useful for custom annotation names like `@apiParam` + #### SlevomatCodingStandard.Namespaces.MultipleUsesPerLine Prohibits multiple uses separated by commas: @@ -180,8 +184,3 @@ Sniff provides the following settings: * `searchAnnotations` (defaults to `false`): enables searching for class names in annotations. * `ignoredAnnotationNames`: case-sensitive list of annotation names that the sniff should ignore (only the name is ignored, annotation content is still searched). Useful for name collisions like `@testCase` annotation and `TestCase` class. * `ignoredAnnotations`: case-sensitive list of annotation names that the sniff ignore completely (both name and content are ignored). Useful for name collisions like `@group Cache` annotation and `Cache` class. - -#### SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation 🔧 - -Sniff provides the following settings: -* `ignoredAnnotationNames`: case-sensitive list of annotation names that the sniff should ignore. Useful for custom annotation names like `@apiParam`