PHP Classes

File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/PEAR/Docs/Formatting/MultiLineAssignmentStandard.xml

Recommend this page to a friend!
  Classes of Simo   CodeIgniter Plugin for Z-Ray   zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/PEAR/Docs/Formatting/MultiLineAssignmentStandard.xml   Download  
File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/PEAR/Docs/Formatting/MultiLineAssignmentStandard.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: 1 year ago
Size: 894 bytes


Class file image Download
<documentation title="Multi-Line Assignment"> <standard> <![CDATA[ Multi-line assignment should have the equals sign be the first item on the second line indented correctly. ]]> </standard> <code_comparison> <code title="Valid: Assignment operator at the start of the second line."> <![CDATA[ $foo <em>=</em> $bar; ]]> </code> <code title="Invalid: Assignment operator at end of first line."> <![CDATA[ $foo <em>=</em> $bar; ]]> </code> </code_comparison> <code_comparison> <code title="Valid: Assignment operator indented one level."> <![CDATA[ $foo <em> </em>= $bar; ]]> </code> <code title="Invalid: Assignment operator not indented."> <![CDATA[ $foo <em></em>= $bar; ]]> </code> </code_comparison> </documentation>