WordPress/Sniffs/Arrays/ArrayIndentationSniff.php
protected function add_array_alignment_error( $ptr, $error, $error_code, $expected, $found, $new_indent ) {

		$fix = $this->phpcsFile->addFixableError( $error, $ptr, $error_code, array( $expected, $found ) );
		if ( true === $fix ) {
			$this->fix_alignment_error( $ptr, $new_indent );
		}
	}
protected function add_array_alignment_error( $ptr, $error, $error_code, $expected, $found, $new_indent ) {

		$fix = $this->phpcsFile->addFixableError( $error, $ptr, $error_code, array( $expected, $found ) );
		if ( true === $fix ) {
			$this->fix_alignment_error( $ptr, $new_indent );
		}
	}
Throw an error and fix incorrect array alignment.

@param int    $ptr        Stack pointer to the first content on the line.
@param string $error      Error message.
@param string $error_code Error code.
@param int    $expected   Expected nr of spaces (tabs translated to space value).
@param int    $found      Found nr of spaces (tabs translated to space value).
@param string $new_indent Whitespace indent replacement content.