Debian Codegraph @

vendor/jfcherng/php-diff/UPGRADING/UPGRADING_v3.md

raw
1 ## Upgrading to v3
2
3 - `$diffOptions` removes: `charLevelDiff` and `separateBlock`.
4 - `$templateOptions` adds: `detailLevel` (similar to `charLevelDiff`, read docs) and `separateBlock` (exact the same one in `$diffOptions`).
5 - `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.)
6 - The look of "skipped" block in HTML renderers (`SideBySide` and `Inline`) have been changed. (You may have to tweak your CSS.)