public/phpmyadmin/vendor/squizlabs/php_codesniffer/src/Files/File.php
/**
     * Records a fixable warning against a specific token in the file.
     *
     * Returns true if the warning was recorded and should be fixed.
     *
     * @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 fixable warning against a specific token in the file.
Returns true if the warning was recorded and should be fixed.

@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 fixable warning against a specific token in the file . Returns true if the warning was recorded and should be fixed . @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 addFixableWarning(
        $warning,
        $stackPtr,
        $code,
        $data=[],
        $severity=0
    ) {
        $recorded = $this->addWarning($warning, $stackPtr, $code, $data, $severity, true);
        if ($recorded === true && $this->fixer->enabled === true) {
            return true;
        }
        return false;
    }
public function addFixableWarning ( $ warning , $ stackPtr , $ code , $ data = [ ] , $ severity = 0 ) { $ recorded = $ this -> addWarning ( $ warning , $ stackPtr , $ code , $ data , $ severity , true ) ; if ( $ recorded === true && $ this -> fixer -> enabled === true ) { return true ; } return false ; }
Records a fixable warning against a specific token in the file.
Records a fixable warning against a specific token in the file .