Mercurial > hg > isophonics-drupal-site
view vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Docs/NamingConventions/ValidClassNameStandard.xml @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
<documentation title="Class Names"> <standard> <![CDATA[ Classes should be given descriptive names. Avoid using abbreviations where possible. Class names should always begin with an uppercase letter. The PEAR class hierarchy is also reflected in the class name, each level of the hierarchy separated with a single underscore. ]]> </standard> <code_comparison> <code title="Examples of valid class names"> <![CDATA[ Log Net_Finger HTML_Upload_Error ]]> </code> <code title="Examples of invalid class names"> <![CDATA[ log NetFinger HTML-Upload-Error ]]> </code> </code_comparison> </documentation>