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

Class: MySource_Sniffs_Debug_DebugCodeSniff

Source Location: /PHP_CodeSniffer-1.5.0RC2/CodeSniffer/Standards/MySource/Sniffs/Debug/DebugCodeSniff.php

Class Overview


Warns about the use of debug code.


Author(s):

Version:

  • Release: 1.5.0RC2

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 26]
Warns about the use of debug code.


[ Top ]


Method Detail

process   [line 51]

void process( $phpcsFile, int $stackPtr)

Processes this sniff, when one of its tokens is encountered.
  • Access: public

Parameters:

PHP_CodeSniffer_File   $phpcsFile     The file being scanned.
int   $stackPtr     The position of the current token in the stack passed in $tokens.

[ Top ]

register   [line 35]

array register( )

Returns an array of tokens this test wants to listen for.
  • Access: public

[ Top ]


Documentation generated on Thu, 04 Apr 2013 01:02:58 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.