BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
PHP_CodeSniffer\Standards\Generic\Sniffs\NamingConventions Namespace Reference

Classes

class  CamelCapsFunctionNameSniff
 
class  ConstructorNameSniff
 
class  UpperCaseConstantNameSniff
 

Detailed Description

Ensures method and functions are named correctly.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t

Bans PHP 4 style constructors.

Favor PHP 5 constructor syntax, which uses "function __construct()". Avoid PHP 4 constructor syntax, which uses "function ClassName()".

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t
Leif Wickland lwick.nosp@m.land.nosp@m.@righ.nosp@m.tnow.nosp@m..com

Ensures that constant names are all uppercase.

Author
Greg Sherwood gsher.nosp@m.wood.nosp@m.@squi.nosp@m.z.ne.nosp@m.t