PHP Classes

File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Squiz/Docs/WhiteSpace/LanguageConstructSpacingStandard.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/LanguageConstructSpacingStandard.xml  >  Download  
File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Squiz/Docs/WhiteSpace/LanguageConstructSpacingStandard.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: 3 months ago
Size: 562 bytes
 

Contents

Class file image Download
<documentation title="Language Construct Whitespace">
    <standard>
    <![CDATA[
    The php constructs echo, print, return, include, include_once, require, require_once, and new should have one space after them.
    ]]>
    </standard>
    <code_comparison>
        <code title="Valid: echo statement with a single space after it.">
        <![CDATA[
echo<em> </em>"hi";
]]>
        </code>
        <code title="Invalid: echo statement with no space after it.">
        <![CDATA[
echo<em></em>"hi";
]]>
        </code>
    </code_comparison>
</documentation>
For more information send a message to info at phpclasses dot org.