From 761251a92febefbba2bcb7ba3b76c388f2e66e56 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sat, 14 Apr 2018 03:54:12 -0700 Subject: [PATCH] phan: Provide stub for wikidiff2_inline_diff() Needed by MobileFrontend Change-Id: I5c6dfae873b5292f26652631943d42de08df49b3 --- tests/phan/stubs/wikidiff.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/phan/stubs/wikidiff.php b/tests/phan/stubs/wikidiff.php index bd4ed6358d..02bcd1fbf9 100644 --- a/tests/phan/stubs/wikidiff.php +++ b/tests/phan/stubs/wikidiff.php @@ -27,3 +27,13 @@ */ function wikidiff2_do_diff( $text1, $text2, $numContextLines, $movedParagraphDetectionCutoff = 0 ) { } + +/** + * @param string $text1 + * @param string $text2 + * @param int $numContextLines + * @param int $maxMovedLines + * @return string + */ +function wikidiff2_inline_diff( $text1, $text2, $numContextLines, $maxMovedLines = 25 ) { +} -- 2.20.1