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

Class: PSR2_Sniffs_Methods_FunctionCallSignatureSniff

Source Location: /PHP_CodeSniffer-2.7.1/CodeSniffer/Standards/PSR2/Sniffs/Methods/FunctionCallSignatureSniff.php

Class Overview

PEAR_Sniffs_Functions_FunctionCallSignatureSniff
   |
   --PSR2_Sniffs_Methods_FunctionCallSignatureSniff

PSR2_Sniffs_Methods_FunctionCallSignatureSniff.


Author(s):

Version:

  • Release: 2.7.1

Copyright:

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

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 26]
PSR2_Sniffs_Methods_FunctionCallSignatureSniff.


[ Top ]


Class Variables

$allowMultipleArguments =  false

[line 34]

If TRUE, multiple arguments can be defined per line in a multi-line call.
  • Access: public

Type:   bool
Overrides:   Array


[ Top ]



Method Detail

isMultiLineCall   [line 50]

void isMultiLineCall( PHP_CodeSniffer_File $phpcsFile, int $stackPtr, int $openBracket, array $tokens)

Processes single-line calls.
  • Access: public

Overrides PEAR_Sniffs_Functions_FunctionCallSignatureSniff::isMultiLineCall() (Determine if this is a multi-line function call.)

Parameters:

PHP_CodeSniffer_File   $phpcsFile   —  The file being scanned.
int   $stackPtr   —  The position of the current token in the stack passed in $tokens.
int   $openBracket   —  The position of the opening bracket in the stack passed in $tokens.
array   $tokens   —  The stack of tokens that make up the file.

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:50:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.