PHP Classes

File: vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/NoLeadingBackslashStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/NoLeadingBackslashStandard.xml   Download  
File: vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/NoLeadingBackslashStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: Yesterday
Size: 766 bytes
 

Contents

Class file image Download
<?xml version="1.0"?> <documentation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://phpcsstandards.github.io/PHPCSDevTools/phpcsdocs.xsd" title="No Leading Backslash" > <standard> <![CDATA[ Import `use` statements must never begin with a leading backslash as they should always be fully qualified. ]]> </standard> <code_comparison> <code title="Valid: Import use statement without leading backslash."> <![CDATA[ <em>use Package</em>\ClassName; ]]> </code> <code title="Invalid: Import use statement with leading backslash."> <![CDATA[ use <em>\</em>Package\ClassName; ]]> </code> </code_comparison> </documentation>