Class: PSR1_Sniffs_Files_SideEffectsSniff
Source Location: /PHP_CodeSniffer-2.3.0/CodeSniffer/Standards/PSR1/Sniffs/Files/SideEffectsSniff.php
PSR1_Sniffs_Files_SideEffectsSniff.
Author(s):
Version:
Copyright:
- 2006-2014 Squiz Pty Ltd (ABN 77 084 670 600)
Inherited Variables
Inherited Methods
Class Details
[line 29]
PSR1_Sniffs_Files_SideEffectsSniff.
Ensures a file declare new symbols and causes no other side effects, or executes logic with side effects, but not both.
Method Detail
process [line 54]
Processes this sniff, when one of its tokens is encountered.
Parameters:
int
$stackPtr
—
The position of the current token in the token stack.
register [line 38]
Returns an array of tokens this test wants to listen for.
Documentation generated on 2019年3月11日 16:01:39 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.