PHP Classes

File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/PSR2/Docs/Classes/ClassDeclarationStandard.xml

Recommend this page to a friend!
  Classes of Simo   CodeIgniter Plugin for Z-Ray   zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/PSR2/Docs/Classes/ClassDeclarationStandard.xml   Download  
File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/PSR2/Docs/Classes/ClassDeclarationStandard.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: 966 bytes


Class file image Download
<documentation title="Class Declarations"> <standard> <![CDATA[ There should be exactly 1 space between the abstract or final keyword and the class keyword and between the class keyword and the class name. The extends and implements keywords, if present, must be on the same line as the class name. When interfaces implemented are spread over multiple lines, there should be exactly 1 interface mentioned per line indented by 1 level. The closing brace of the class must go on the first line after the body of the class and must be on a line by itself. ]]> </standard> <code_comparison> <code title="Valid: Correct spacing around class keyword."> <![CDATA[ abstract<em> </em>class<em> </em>Foo { } ]]> </code> <code title="Invalid: 2 spaces used around class keyword."> <![CDATA[ abstract<em> </em>class<em> </em>Foo { } ]]> </code> </code_comparison> </documentation>