Skip to content

Commit 742c096

Browse files
committed
Update UPGRADING_v5.md
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
1 parent 0ffd644 commit 742c096

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

UPGRADING_v5.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,9 @@
1616
- `<th class="f-num">` (from-number) becomes `<th class="n-new">` (number-new).
1717
- `<th class="t-num">` (to-number) becomes `<th class="n-old">` (number-old).
1818

19-
- The `tag` in `Json` template is now in `int` form by default.
19+
- The `tag` (sometimes called `op`) in `Json` template is now in `int` form by default.
2020
To get previous behavior, set the renderer option `outputTagAsString` to `true`.
21+
22+
- The `tag` (sometimes called `op`) in `Diff::getGroupedOpcodes()`'s results are now in `int` form.
23+
The corresponding meaning could be found in
24+
[jfcherng/php-sequence-matcher](https://github.com/jfcherng/php-sequence-matcher/blob/3.0.0/src/SequenceMatcher.php#L16-L26).

0 commit comments

Comments
 (0)