Documentation

StaticThisUsageSniff.php

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

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

StaticThisUsageSniff

Search results