From: Kunal Mehta Date: Sat, 14 Apr 2018 10:54:12 +0000 (-0700) Subject: phan: Provide stub for wikidiff2_inline_diff() X-Git-Tag: 1.31.0-rc.0~69^2 X-Git-Url: http://git.cyclocoop.org//%27http:/ie7-js.googlecode.com/svn/test/index.html/%27?a=commitdiff_plain;h=761251a92febefbba2bcb7ba3b76c388f2e66e56;p=lhc%2Fweb%2Fwiklou.git phan: Provide stub for wikidiff2_inline_diff() Needed by MobileFrontend Change-Id: I5c6dfae873b5292f26652631943d42de08df49b3 --- 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 ) { +}