Class: PEAR_Sniffs_Files_IncludingFileSniff
Source Location: /PHP_CodeSniffer-0.1.1/CodeSniffer/Standards/PEAR/Sniffs/Files/IncludingFileSniff.php
PEAR_Sniffs_Files_IncludingFileSniff.
Author(s):
Inherited Variables
Inherited Methods
Class Details
[line 47]
PEAR_Sniffs_Files_IncludingFileSniff.
Checks that the include_once is used in conditional situations, and require_once is used elsewhere. Also checks that brackets do not surround the file being included.
Method Detail
process [line 89]
Processes this test, when one of its tokens is encountered.
Parameters:
int
$stackPtr
—
The position of the current token in the stack passed in $tokens.
register [line 68]
Returns an array of tokens this test wants to listen for.
Documentation generated on 2019年3月11日 14:44:51 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.