Skip to content

Commit

Permalink
Update to FullyQualifiedClassNameInAnnotation
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Feb 4, 2023
1 parent 52b8e2b commit 60a1277
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions PSR12NeutronRuleset/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* define() is for global constants
-->
<property name="forbiddenFunctions" type="array">
<element key="goto" value="null"/>
<element key="env" value="null"/>
<element key="ini_set" value="null"/>
<element key="compact" value="null"/>
Expand Down Expand Up @@ -203,18 +204,17 @@
<rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/>
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/>
<rule ref="SlevomatCodingStandard.Namespaces.DisallowGroupUse"/>
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameAfterKeyword">
<!-- It is not possible to enforce FQCN-s any more -->
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly">
<properties>
<property name="keywordsToCheck" type="array">
<element value="T_EXTENDS"/>
<element value="T_IMPLEMENTS"/>
</property>
<property name="allowFullyQualifiedExceptions" value="true"/>
<property name="allowFullyQualifiedNameForCollidingClasses" value="true"/>
<property name="namespacesRequiredToUse" type="array"/>
</properties>
</rule>
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedExceptions"/>
<rule ref="SlevomatCodingStandard.Namespaces.MultipleUsesPerLine"/>
<rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash"/>
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation"/>
<rule ref="SlevomatCodingStandard.Namespaces.FullyQualifiedClassNameInAnnotation">
<properties>
<property name="forbiddenAnnotations" type="array">
Expand All @@ -237,7 +237,7 @@

<!-- Own rules -->
<rule ref="PSR12NeutronRuleset.Strings.ConcatenationUsage">
<severity>0</severity>
<severity>5</severity>
<type>warning</type>
</rule>
</ruleset>

0 comments on commit 60a1277

Please sign in to comment.