PHP Classes

File: vendor/phpcsstandards/phpcsextra/Universal/Docs/Namespaces/DisallowCurlyBraceSyntaxStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/phpcsstandards/phpcsextra/Universal/Docs/Namespaces/DisallowCurlyBraceSyntaxStandard.xml   Download  
File: vendor/phpcsstandards/phpcsextra/Universal/Docs/Namespaces/DisallowCurlyBraceSyntaxStandard.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: 774 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 Curly Brace Namespace Syntax" > <standard> <![CDATA[ Namespace declarations using the curly brace syntax are not allowed. ]]> </standard> <code_comparison> <code title="Valid: Namespace declaration without braces."> <![CDATA[ namespace Vendor\Project\Sub<em>;</em> // Code ]]> </code> <code title="Invalid: Namespace declaration with braces."> <![CDATA[ namespace Vendor\Project\Scoped <em>{</em> // Code. <em>}</em> ]]> </code> </code_comparison> </documentation>