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

Classes

class  MemberVarScopeSniff
 
class  MethodScopeSniff
 
class  StaticThisUsageSniff
 

Detailed Description

Verifies that class members have scope modifiers.

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

Verifies that class methods have scope modifiers.

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

Checks for usage of $this in static methods, which will cause runtime errors.

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