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

Classes

class  AjaxNullComparisonSniff
 
class  EvalObjectFactorySniff
 
class  GetRequestDataSniff
 
class  ReturnFunctionValueSniff
 

Detailed Description

Ensures that values submitted via JS are not compared to NULL.

With jQuery 1.8, the behavior of ajax requests changed so that null values are submitted as null= instead of null=null.

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

Ensures that eval() is not used to create objects.

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

Ensures that getRequestData() is used to access super globals.

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

Warns when function values are returned directly.

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