PHP Classes

File: zray/vendor/PHP_CodeSniffer-2.2.0/CodeSniffer/Standards/Generic/Docs/Classes/DuplicateClassNameStandard.xml

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

Contents

Class file image Download
<documentation title="Duplicate Class Names"> <standard> <![CDATA[ Class and Interface names should be unique in a project. They should never be duplicated. ]]> </standard> <code_comparison> <code title="Valid: A unique class name."> <![CDATA[ class <em>Foo</em> { } ]]> </code> <code title="Invalid: A class duplicated (including across multiple files)."> <![CDATA[ class <em>Foo</em> { } class <em>Foo</em> { } ]]> </code> </code_comparison> </documentation>