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

Class: PEAR_Sniffs_WhiteSpace_ScopeIndentSniff

Source Location: /PHP_CodeSniffer-0.7.0/CodeSniffer/Standards/PEAR/Sniffs/WhiteSpace/ScopeIndentSniff.php

Class Overview

Generic_Sniffs_WhiteSpace_ScopeIndentSniff
   |
   --PEAR_Sniffs_WhiteSpace_ScopeIndentSniff

PEAR_Sniffs_Whitespace_ScopeIndentSniff.


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_WhiteSpace_ScopeIndentSniff

Generic_Sniffs_WhiteSpace_ScopeIndentSniff::calculateExpectedIndent()
Calculates the expected indent of a token.
Generic_Sniffs_WhiteSpace_ScopeIndentSniff::process()
Processes this test, when one of its tokens is encountered.
Generic_Sniffs_WhiteSpace_ScopeIndentSniff::register()
Returns an array of tokens this test wants to listen for.

Class Details

[line 34]
PEAR_Sniffs_Whitespace_ScopeIndentSniff.

Checks that control structures are structured correctly, and their content is indented correctly.



[ Top ]


Class Variables

$nonIndentingScopes = array(
                                     T_SWITCH,
                                    )

[line 42]

Any scope openers that should not cause an indent.
  • Access: protected

Type:   array(int)
Overrides:   Array


[ Top ]



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