extensions/felixfbecker.php-intellisense-0.0.12/vendor/squizlabs/php_codesniffer/src/Files/File.php
/**
     * Records a warning against a specific token in the file.
     *
     * @param string  $warning  The error message.
     * @param int     $stackPtr The stack position where the error occurred.
     * @param string  $code     A violation code unique to the sniff message.
     * @param array   $data     Replacements for the warning message.
     * @param int     $severity The severity level for this warning. A value of 0
     *                          will be converted into the default severity level.
     * @param boolean $fixable  Can the warning be fixed by the sniff?
     *
     * @return boolean
     */
Records a warning against a specific token in the file.
@param string  $warning  The error message.
@param int     $stackPtr The stack position where the error occurred.
@param string  $code     A violation code unique to the sniff message.
@param array   $data     Replacements for the warning message.
@param int     $severity The severity level for this warning. A value of 0
will be converted into the default severity level.

@return boolean
Records a warning against a specific token in the file . @param string $warning The error message . @param int $stackPtr The stack position where the error occurred . @param string $code A violation code unique to the sniff message . @param array $data Replacements for the warning message . @param int $severity The severity level for this warning . A value of 0 will be converted into the default severity level . @return boolean
public function addWarning(
        $warning,
        $stackPtr,
        $code,
        $data=array(),
        $severity=0,
        $fixable=false
    ) {
        if ($stackPtr === null) {
            $line   = 1;
            $column = 1;
        } else {
            $line   = $this->tokens[$stackPtr]['line'];
            $column = $this->tokens[$stackPtr]['column'];
        }
        return $this->addMessage(false, $warning, $line, $column, $code, $data, $severity, $fixable);
    }
public function addWarning ( $ warning , $ stackPtr , $ code , $ data = array ( ) , $ severity = 0 , $ fixable = false ) { if ( $ stackPtr === null ) { $ line = 1 ; $ column = 1 ; } else { $ line = $ this -> tokens [ $ stackPtr ] [ 'line' ] ; $ column = $ this -> tokens [ $ stackPtr ] [ 'column' ] ; } return $ this -> addMessage ( false , $ warning , $ line , $ column , $ code , $ data , $ severity , $ fixable ) ; }
Records a warning against a specific token in the file.
Records a warning against a specific token in the file .