We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a02c7d0 + c36346f commit 6f0505aCopy full SHA for 6f0505a
src/LEVIY/ruleset.xml
@@ -40,6 +40,16 @@
40
41
<!-- Add our own rules -->
42
43
+ <!-- Enforce importing of all classes, functions and constants from other namespaces
44
+ (including the global namespace) -->
45
+ <rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly" >
46
+ <properties>
47
+ <property name="searchAnnotations" value="true"/>
48
+ <property name="allowFallbackGlobalFunctions" value="false"/>
49
+ <property name="allowFallbackGlobalConstants" value="false"/>
50
+ </properties>
51
+ </rule>
52
+
53
<!-- Sort use statements and report unused ones -->
54
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
55
<properties>
0 commit comments