PHP Classes

File: vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/PrecisionAlignmentStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Nolimitbuzz WP Theme   vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/PrecisionAlignmentStandard.xml   Download  
File: vendor/wp-coding-standards/wpcs/WordPress/Docs/WhiteSpace/PrecisionAlignmentStandard.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: 19 days ago
Size: 983 bytes
 

Contents

Class file image Download
<documentation title="Precision Alignment"> <standard> <![CDATA[ Line indentation should only use tabs. Precision alignment with spaces after the tabs is strongly discouraged. ]]> </standard> <code_comparison> <code title="Valid: only tabstops used for indentation."> <![CDATA[ <em>[tab]</em>$var = true; ]]> </code> <code title="Invalid: precision alignment of 2 spaces."> <![CDATA[ <em>[space][space]</em>$var = true; ]]> </code> </code_comparison> <code_comparison> <code title="Valid: four spaces counts as a tab, the replacement of these will be handled by another sniff."> <![CDATA[ <em>[tab][space][space][space][space]</em>$var = true; ]]> </code> <code title="Invalid: precision alignment of 3 spaces."> <![CDATA[ <em>[tab][space][space][space]</em>$var = true; ]]> </code> </code_comparison> </documentation>