|
@@ 256-262 (lines=7) @@
|
| 253 |
|
return $wrapStart . $diff->build() . $wrapEnd; |
| 254 |
|
} |
| 255 |
|
|
| 256 |
|
protected function diffList($oldText, $newText) |
| 257 |
|
{ |
| 258 |
|
$diff = new ListDiffNew($oldText, $newText, $this->encoding, $this->specialCaseTags, $this->groupDiffs); |
| 259 |
|
$diff->setMatchThreshold($this->matchThreshold); |
| 260 |
|
|
| 261 |
|
return $diff->build(); |
| 262 |
|
} |
| 263 |
|
|
| 264 |
|
protected function diffTables($oldText, $newText) |
| 265 |
|
{ |
|
@@ 264-270 (lines=7) @@
|
| 261 |
|
return $diff->build(); |
| 262 |
|
} |
| 263 |
|
|
| 264 |
|
protected function diffTables($oldText, $newText) |
| 265 |
|
{ |
| 266 |
|
$diff = new TableDiff($oldText, $newText, $this->encoding, $this->specialCaseTags, $this->groupDiffs); |
| 267 |
|
$diff->setMatchThreshold($this->matchThreshold); |
| 268 |
|
|
| 269 |
|
return $diff->build(); |
| 270 |
|
} |
| 271 |
|
|
| 272 |
|
/** |
| 273 |
|
* @param string $oldText |