Documentation

LineLengthSniff.php

Checks the length of all lines in a file.

Checks all lines in the file, and throws warnings if they are over 80 characters in length and errors if they are over 100. Both these figures can be changed in a ruleset.xml file.

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

LineLengthSniff

Search results