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

Class: CamelCapsMethodNameSniff

Source Location: /PHP_CodeSniffer-3.1.1/src/Standards/PSR1/Sniffs/Methods/CamelCapsMethodNameSniff.php

Class Overview

GenericCamelCapsFunctionNameSniff
   |
   --CamelCapsMethodNameSniff

Ensures method names are defined using camel case.


Author(s):

Copyright:

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

Methods


Inherited Variables

Inherited Methods


Class Details

[line 16]
Ensures method names are defined using camel case.


[ Top ]


Method Detail

processTokenOutsideScope   [line 71]

void processTokenOutsideScope( File $phpcsFile, int $stackPtr)

Processes the tokens outside the scope.
  • Access: protected

Parameters:

\PHP_CodeSniffer\Files\File   $phpcsFile   —  The file being processed.
int   $stackPtr   —  The position where this token was found.

[ Top ]

processTokenWithinScope   [line 30]

void processTokenWithinScope( File $phpcsFile, int $stackPtr, int $currScope)

Processes the tokens within the scope.
  • Access: protected

Parameters:

\PHP_CodeSniffer\Files\File   $phpcsFile   —  The file being processed.
int   $stackPtr   —  The position where this token was found.
int   $currScope   —  The position of the current scope.

[ Top ]


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