32 protected function lines( $lines, $prefix =
' ' ) {
33 foreach ( $lines as $line ) {
41 protected function added( $lines ) {
42 $this->
lines( $lines,
'+' );
49 $this->
lines( $lines,
'-' );
56 protected function changed( $orig, $closing ) {
58 $this->
added( $closing );
69 protected function blockHeader( $xbeg, $xlen, $ybeg, $ylen ) {
70 return "@@ -$xbeg,$xlen +$ybeg,$ylen @@";
76class_alias( UnifiedDiffFormatter::class,
'UnifiedDiffFormatter' );