Skip to content

Commit bfc3adf

Browse files
committed
Ignore FullyQualifiedClassNameInAnnotation for phpstan-type
1 parent 1fa886d commit bfc3adf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

IxDFCodingStandard/ruleset.xml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,13 @@
324324
<rule ref="SlevomatCodingStandard.Functions.UselessParameterDefaultValue"/>
325325
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"/>
326326
<rule ref="SlevomatCodingStandard.Namespaces.DisallowGroupUse"/>
327-
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation"/>
327+
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation">
328+
<properties>
329+
<property name="ignoredAnnotationNames" type="array">
330+
<element value="phpstan-type"/>
331+
</property>
332+
</properties>
333+
</rule>
328334
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalConstants"/>
329335
<rule ref="SlevomatCodingStandard.Namespaces.MultipleUsesPerLine"/>
330336
<rule ref="SlevomatCodingStandard.Namespaces.NamespaceDeclaration"/>

0 commit comments

Comments
 (0)