Files
netconfig/vendor/jfcherng/php-diff/UPGRADING/UPGRADING_v3.md
T

7 lines
522 B
Markdown
Raw Normal View History

2026-05-22 14:13:33 +02:00
## Upgrading to v3
- `$diffOptions` removes: `charLevelDiff` and `separateBlock`.
- `$templateOptions` adds: `detailLevel` (similar to `charLevelDiff`, read docs) and `separateBlock` (exact the same one in `$diffOptions`).
- `Jfcherng\Diff\Diff`'s `$a` (`$old`), `$b` (`$new`) are required in `__construct()`. (You may pass two empty arrays if you do not want to do anything at that moment.)
- The look of "skipped" block in HTML renderers (`SideBySide` and `Inline`) have been changed. (You may have to tweak your CSS.)