|
| $requiredSpacesAfterOpen = 0 |
|
| $requiredSpacesBeforeClose = 0 |
|
PSR2_Sniffs_ControlStructures_ControlStructureSpacingSniff::process |
( |
PHP_CodeSniffer_File |
$phpcsFile, |
|
|
|
$stackPtr |
|
) |
| |
Processes this test, when one of its tokens is encountered.
- Parameters
-
PHP_CodeSniffer_File | $phpcsFile | The file being scanned. |
int | $stackPtr | The position of the current token in the stack passed in $tokens. |
- Returns
- void
PSR2_Sniffs_ControlStructures_ControlStructureSpacingSniff::register |
( |
) | |
|
Returns an array of tokens this test wants to listen for.
- Returns
- array
The documentation for this class was generated from the following file:
- fannie/unit-tests/CodingStandard/CORE_PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php