PHP Classes

File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Squiz/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml

Recommend this page to a friend!
  Classes of Simo   CodeIgniter Plugin for Z-Ray   zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Squiz/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml   Download  
File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Squiz/Docs/WhiteSpace/ObjectOperatorSpacingStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CodeIgniter Plugin for Z-Ray
Show CodeIgniter application information in Z-Ray
Author: By
Last change:
Date: 2 years ago
Size: 513 bytes
 

Contents

Class file image Download
<documentation title="Object Operator Spacing"> <standard> <![CDATA[ The object operator (->) should not have any space around it. ]]> </standard> <code_comparison> <code title="Valid: No spaces around the object operator."> <![CDATA[ $foo<em></em>-><em></em>bar(); ]]> </code> <code title="Invalid: Whitespace surrounding the object operator."> <![CDATA[ $foo<em> </em>-><em> </em>bar(); ]]> </code> </code_comparison> </documentation>