Documentation

UseStatements

Table of Contents

Classes

DisallowMixedGroupUseSniff
Disallow group use statements which combine imports for namespace/OO, functions and/or constants in one statement.
DisallowUseClassSniff
Disallow class/trait/interface/enum import `use` statements.
DisallowUseConstSniff
Disallow constant import `use` statements.
DisallowUseFunctionSniff
Disallow function import `use` statements.
KeywordSpacingSniff
Enforce a single space after the keywords in import `use` statements.
LowercaseFunctionConstSniff
Verify that the `function` and `const` keyword in import `use` statements are lowercase.
NoLeadingBackslashSniff
Verifies that names being imported in import use statements do not start with a leading backslash.
NoUselessAliasesSniff
Detects useless aliases for import use statements.

        
On this page

Search results