PHP Classes

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

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/KeywordSpacingStandard.xml   Download  
File: vendor/phpcsstandards/phpcsextra/Universal/Docs/UseStatements/KeywordSpacingStandard.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: 942 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="Import Use Keyword Spacing" > <standard> <![CDATA[ Enforce a single space after the `use`, `function`, `const` keywords and both before and after the `as` keyword in import `use` statements. ]]> </standard> <code_comparison> <code title="Valid: Single space used around keywords."> <![CDATA[ use<em> </em>function<em> </em>strpos; use<em> </em>const<em> </em>PHP_EOL<em> </em>as<em> </em>MY_EOL; ]]> </code> <code title="Invalid: Incorrect spacing used around keywords."> <![CDATA[ use<em> </em>function<em> </em>strpos; use<em> </em>const<em> </em>PHP_EOL<em> </em>as<em> </em>MY_EOL; ]]> </code> </code_comparison> </documentation>