Documentation

AjaxNullComparisonSniff.php

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.

Tags
author

Greg Sherwood gsherwood@squiz.net

copyright

2006-2015 Squiz Pty Ltd (ABN 77 084 670 600)

license

https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence

Interfaces, Classes and Traits

AjaxNullComparisonSniff

Search results