PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Classes/ClassDeclarationStandard.xml

Recommend this page to a friend!
  Classes of milenmk   Simple PHP Password Manager   vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Classes/ClassDeclarationStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/PSR2/Docs/Classes/ClassDeclarationStandard.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: 966 bytes
 

Contents

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>