Skip to content

Files

Latest commit

 

History

History
17 lines (10 loc) · 772 Bytes

SlevomatCodingStandard.Namespaces.FullyQualifiedGlobalFunctions.md

File metadata and controls

17 lines (10 loc) · 772 Bytes

Pattern: Missing use of fully qualified global function

Issue: -

Description

All references to global functions must be referenced via a fully qualified name.

Rule provides the following settings:

  • include: list of global functions that must be referenced via FQN. If not set all functions are considered.
  • includeSpecialFunctions: include complete list of PHP internal functions that could be optimized when referenced via FQN.
  • exclude: list of global functions that are allowed not to be referenced via FQN.

Further Reading