File "CamelCapsMethodNameStandard.xml"
Full Path: /home/warrior1/public_html/wp-content/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/PSR1/Docs/Methods/CamelCapsMethodNameStandard.xml
File size: 538 bytes
MIME-type: text/plain
Charset: utf-8
<documentation title="Method Name">
<standard>
<![CDATA[
Method names MUST be declared in camelCase.
]]>
</standard>
<code_comparison>
<code title="Valid: method name in camelCase.">
<![CDATA[
class Foo
{
private function <em>doBar</em>()
{
}
}
]]>
</code>
<code title="Invalid: method name not in camelCase.">
<![CDATA[
class Foo
{
private function <em>do_bar</em>()
{
}
}
]]>
</code>
</code_comparison>
</documentation>