PHP Classes

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

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/DisallowUseConstStandard.xml   Download  
File: vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/DisallowUseConstStandard.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: 770 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="Disallow Use Const" > <standard> <![CDATA[ Disallow the use of `use const` import statements, with or without alias. ]]> </standard> <code_comparison> <code title="Valid: Other type of use import statements."> <![CDATA[ use Vendor\Sub\ClassName; use function Vendor\Sub\functionName; ]]> </code> <code title="Invalid: use const import statements."> <![CDATA[ use const Vendor\Sub\CONST; use const Vendor\Sub\BAR as otherConst; ]]> </code> </code_comparison> </documentation>