PHP Classes

File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Classes/DuplicateClassNameStandard.xml

Recommend this page to a friend!
  Classes of Adeleye Ayodeji   Download Installed Plugin   vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Classes/DuplicateClassNameStandard.xml   Download  
File: vendor/squizlabs/php_codesniffer/src/Standards/Generic/Docs/Classes/DuplicateClassNameStandard.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Download Installed Plugin
Download a WordPress plugin as a ZIP archive
Author: By
Last change:
Date: Yesterday
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>