Skip to content
Snippets Groups Projects

Issue #3356962: Undefined property: DiffFormatter::$line_stats DiffEngine.php:861 with PHP 8

1 file
+ 10
0
Compare changes
  • Side-by-side
  • Inline
+ 10
0
@@ -799,6 +799,16 @@ class DiffFormatter {
@@ -799,6 +799,16 @@ class DiffFormatter {
*/
*/
var $trailing_context_lines = 0;
var $trailing_context_lines = 0;
 
/**
 
* Keep track of lines.
 
*
 
* @var array
 
*/
 
var $line_stats = array(
 
'counter' => array('x' => 0, 'y' => 0),
 
'offset' => array('x' => 0, 'y' => 0),
 
);
 
/**
/**
* Format a diff.
* Format a diff.
*
*
Loading