PHP_CodeSniffer
[ class tree: PHP_CodeSniffer ] [ index: PHP_CodeSniffer ] [ all elements ]

Class: PEAR_Sniffs_Files_LineLengthSniff

Source Location: /PHP_CodeSniffer-0.7.0/CodeSniffer/Standards/PEAR/Sniffs/Files/LineLengthSniff.php

Class Overview

Generic_Sniffs_Files_LineLengthSniff
   |
   --PEAR_Sniffs_Files_LineLengthSniff

PEAR_Sniffs_Files_LineLengthSniff.


Author(s):

Version:

  • Release: 0.7.0

Copyright:

  • 2006 Squiz Pty Ltd (ABN 77 084 670 600)

Variables


Inherited Variables

Inherited Methods

Class: Generic_Sniffs_Files_LineLengthSniff

Generic_Sniffs_Files_LineLengthSniff::process()
Processes this test, when one of its tokens is encountered.
Generic_Sniffs_Files_LineLengthSniff::register()
Returns an array of tokens this test wants to listen for.

Class Details

[line 35]
PEAR_Sniffs_Files_LineLengthSniff.

Checks all lines in the file, and throws warnings if they are over 85 characters in length.



[ Top ]


Class Variables

$lineLimit =  85

[line 43]

The limit that the length of a line should not exceed.
  • Access: protected

Type:   int
Overrides:   Array


[ Top ]



Documentation generated on Mon, 11 Mar 2019 15:06:35 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.