PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Formatting/SpaceBeforeCastStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Formatting/SpaceBeforeCastStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Formatting/SpaceBeforeCastStandard.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: 2 days ago
Size: 597 bytes
 

Contents

Class file image Download
<documentation title="Space Before Cast"> <standard> <![CDATA[ There should be exactly one space before a cast operator. ]]> </standard> <code_comparison> <code title="Valid: Single space before a cast operator."> <![CDATA[ $integer =<em> </em>(int) $string; $c = $a .<em> </em>(string) $b; ]]> </code> <code title="Invalid: No space or multiple spaces before a cast operator."> <![CDATA[ $integer =<em></em>(int) $string; $c = $a .<em> </em>(string) $b; ]]> </code> </code_comparison> </documentation>