Removed use function imports for mocked/stubbed functions, disabling phpcs import rule

While the rule is now disabled, it still is very much valuable to import most pure functions from the core
PHP scope, allowing us some marginal gains on anything that can be inlined by the engine (now or in future).

The rule does not allow selective exclusions, so we will need to keep it off for now.
This commit is contained in:
Marco Pivetta
2020-02-03 18:18:43 +01:00
committed by Ben Ramsey
parent a252f29847
commit dee551deb1
8 changed files with 1 additions and 17 deletions
-1
View File
@@ -241,7 +241,6 @@
<rule ref="SlevomatCodingStandard.Namespaces.ReferenceUsedNamesOnly">
<properties>
<property name="allowFallbackGlobalConstants" value="false"/>
<property name="allowFallbackGlobalFunctions" value="false"/>
<property name="allowFullyQualifiedGlobalConstants" value="false"/>
<property name="allowFullyQualifiedGlobalFunctions" value="false"/>
<property name="allowFullyQualifiedExceptions" value="true"/>