PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/CastSpacingStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/CastSpacingStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Docs/WhiteSpace/CastSpacingStandard.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: 1 month ago
Size: 491 bytes
 

Contents

Class file image Download
<documentation title="Cast Whitespace"> <standard> <![CDATA[ Casts should not have whitespace inside the parentheses. ]]> </standard> <code_comparison> <code title="Valid: No spaces."> <![CDATA[ $foo = (<em></em>int<em></em>)'42'; ]]> </code> <code title="Invalid: Whitespace used inside parentheses."> <![CDATA[ $foo = (<em> </em>int<em> </em>)'42'; ]]> </code> </code_comparison> </documentation>