protected function _markerError($file, $line, $marker, $count)
    {
        if (strpos($this->_file, CAKE_CORE_INCLUDE_PATH) === false) {
            $this->_countMarkerError++;
        }

        if (!$this->_markerError) {
            return;
        }

        $this->err(sprintf("Invalid marker content in %s:%s\n* %s(", $file, $line, $marker));
        $count += 2;
        $tokenCount = count($this->_tokens);
        $parenthesis = 1;

        while ((($tokenCount - $count) > 0) && $parenthesis) {
            if (is_array($this->_tokens[$count])) {
                $this->err($this->_tokens[$count][1], false);
            } else {
                $this->err($this->_tokens[$count], false);
                if ($this->_tokens[$count] === '(') {
                    $parenthesis++;
                }

                if ($this->_tokens[$count] === ')') {
                    $parenthesis--;
                }
            }
            $count++;
        }
        $this->err("\n", true);
    }
protected function _markerError($file, $line, $marker, $count)
    {
        if (strpos($this->_file, CAKE_CORE_INCLUDE_PATH) === false) {
            $this->_countMarkerError++;
        }

        if (!$this->_markerError) {
            return;
        }

        $this->err(sprintf("Invalid marker content in %s:%s\n* %s(", $file, $line, $marker));
        $count += 2;
        $tokenCount = count($this->_tokens);
        $parenthesis = 1;

        while ((($tokenCount - $count) > 0) && $parenthesis) {
            if (is_array($this->_tokens[$count])) {
                $this->err($this->_tokens[$count][1], false);
            } else {
                $this->err($this->_tokens[$count], false);
                if ($this->_tokens[$count] === '(') {
                    $parenthesis++;
                }

                if ($this->_tokens[$count] === ')') {
                    $parenthesis--;
                }
            }
            $count++;
        }
        $this->err("\n", true);
    }
protected function _markerError ( $ file , $ line , $ marker , $ count ) { if ( strpos ( $ this -> _file , CAKE_CORE_INCLUDE_PATH ) === false ) { $ this -> _countMarkerError ++ ; } if ( ! $ this -> _markerError ) { return ; } $ this -> err ( sprintf ( "Invalid marker content in %s:%s\n* %s(" , $ file , $ line , $ marker ) ) ; $ count += 2 ; $ tokenCount = count ( $ this -> _tokens ) ; $ parenthesis = 1 ; while ( ( ( $ tokenCount - $ count ) > 0 ) && $ parenthesis ) { if ( is_array ( $ this -> _tokens [ $ count ] ) ) { $ this -> err ( $ this -> _tokens [ $ count ] [ 1 ] , false ) ; } else { $ this -> err ( $ this -> _tokens [ $ count ] , false ) ; if ( $ this -> _tokens [ $ count ] === '(' ) { $ parenthesis ++ ; } if ( $ this -> _tokens [ $ count ] === ')' ) { $ parenthesis -- ; } } $ count ++ ; } $ this -> err ( "\n" , true ) ; }
Indicate an invalid marker on a processed file

@param string $file File where invalid marker resides
@param int $line Line number
@param string $marker Marker found
@param int $count Count
@return void
Indicate an invalid marker on a processed file