33 protected function lines( $lines, $prefix =
' ' ) {
34 foreach ( $lines as $line ) {
42 protected function added( $lines ) {
43 $this->
lines( $lines,
'+' );
50 $this->
lines( $lines,
'-' );
57 protected function changed( $orig, $closing ) {
59 $this->
added( $closing );
70 protected function blockHeader( $xbeg, $xlen, $ybeg, $ylen ) {
71 return "@@ -$xbeg,$xlen +$ybeg,$ylen @@";
77class_alias( UnifiedDiffFormatter::class,
'UnifiedDiffFormatter' );