A formatter that outputs unified diffs.
More...
|
| added ( $lines) |
|
| blockHeader ( $xbeg, $xlen, $ybeg, $ylen) |
|
| changed ( $orig, $closing) |
|
| deleted ( $lines) |
|
| block ( $xbeg, $xlen, $ybeg, $ylen, &$edits) |
|
| context ( $lines) |
|
| endBlock () |
| Called at the end of a block of connected edits. More...
|
|
| endDiff () |
|
| lines ( $lines, $prefix=' ') |
| Writes all (optionally prefixed) lines to the output buffer, separated by newlines. More...
|
|
| startBlock ( $header) |
| Called at the start of a block of connected edits. More...
|
|
| startDiff () |
|
A formatter that outputs unified diffs.
Definition at line 31 of file UnifiedDiffFormatter.php.
◆ added()
UnifiedDiffFormatter::added |
( |
|
$lines | ) |
|
|
protected |
◆ blockHeader()
UnifiedDiffFormatter::blockHeader |
( |
|
$xbeg, |
|
|
|
$xlen, |
|
|
|
$ybeg, |
|
|
|
$ylen |
|
) |
| |
|
protected |
◆ changed()
UnifiedDiffFormatter::changed |
( |
|
$orig, |
|
|
|
$closing |
|
) |
| |
|
protected |
◆ deleted()
UnifiedDiffFormatter::deleted |
( |
|
$lines | ) |
|
|
protected |
◆ $leadingContextLines
int UnifiedDiffFormatter::$leadingContextLines = 2 |
|
protected |
◆ $trailingContextLines
int UnifiedDiffFormatter::$trailingContextLines = 2 |
|
protected |
The documentation for this class was generated from the following file: