PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/IncrementDecrementSpacingStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Nolimitbuzz WP Theme   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/IncrementDecrementSpacingStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/WhiteSpace/IncrementDecrementSpacingStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Nolimitbuzz WP Theme
WordPress theme to used as start of new themes
Author: By
Last change:
Date: 27 days ago
Size: 738 bytes
 

Contents

Class file image Download
<documentation title="Increment Decrement Spacing"> <standard> <![CDATA[ There should be no whitespace between variables and increment/decrement operators. ]]> </standard> <code_comparison> <code title="Valid: No whitespace between variables and increment/decrement operators."> <![CDATA[ ++<em></em>$i; --<em></em>$i['key']['id']; ClassName::$prop<em></em>++; $obj->prop<em></em>--; ]]> </code> <code title="Invalid: Whitespace between variables and increment/decrement operators."> <![CDATA[ ++<em> </em>$i; --<em> </em>$i['key']['id']; ClassName::$prop<em> </em>++; $obj->prop<em> </em>--; ]]> </code> </code_comparison> </documentation>