PHP Classes

File: vendor/phpcsstandards/phpcsextra/Universal/Docs/Lists/DisallowShortListSyntaxStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/phpcsstandards/phpcsextra/Universal/Docs/Lists/DisallowShortListSyntaxStandard.xml   Download  
File: vendor/phpcsstandards/phpcsextra/Universal/Docs/Lists/DisallowShortListSyntaxStandard.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: 654 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 Short List Syntax" > <standard> <![CDATA[ Long list syntax must be used. ]]> </standard> <code_comparison> <code title="Valid: Long form of list."> <![CDATA[ <em>list(</em>$a, $b<em>)</em> = $array; ]]> </code> <code title="Invalid: Short form of list."> <![CDATA[ <em>[</em>$a, $b<em>]</em> = $array; ]]> </code> </code_comparison> </documentation>