PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/ControlStructures/ControlStructureSpacingStandard.xml

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/ControlStructures/ControlStructureSpacingStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/ControlStructures/ControlStructureSpacingStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Simple PHP Password Manager
Application to store and retrieve user password
Author: By
Last change:
Date: 1 year ago
Size: 581 bytes
 

Contents

Class file image Download
<documentation title="Control Structure Spacing"> <standard> <![CDATA[ Control Structures should have 0 spaces after opening parentheses and 0 spaces before closing parentheses. ]]> </standard> <code_comparison> <code title="Valid: Correct spacing."> <![CDATA[ if (<em></em>$foo<em></em>) { $var = 1; } ]]> </code> <code title="Invalid: Whitespace used inside the parentheses."> <![CDATA[ if (<em> </em>$foo<em> </em>) { $var = 1; } ]]> </code> </code_comparison> </documentation>