Added all missing use statements from global functions and constants

This commit is contained in:
Alejandro Celaya
2018-10-28 08:34:02 +01:00
parent 77d810b735
commit 025135b8c6
36 changed files with 67 additions and 6 deletions

View File

@@ -40,7 +40,12 @@
<rule ref="SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses"/>
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/>
<!-- Enforce all global namespace classes, functions and constants to be explicitly imported -->
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly"/>
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly">
<properties>
<property name="allowFallbackGlobalFunctions" value="false"/>
<property name="allowFallbackGlobalConstants" value="false"/>
</properties>
</rule>
<!-- Paths to check -->
<file>bin</file>