phan: Provide stub for wikidiff2_inline_diff()
authorKunal Mehta <legoktm@member.fsf.org>
Sat, 14 Apr 2018 10:54:12 +0000 (03:54 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Sat, 14 Apr 2018 10:54:12 +0000 (03:54 -0700)
Needed by MobileFrontend

Change-Id: I5c6dfae873b5292f26652631943d42de08df49b3

tests/phan/stubs/wikidiff.php

index bd4ed63..02bcd1f 100644 (file)
  */
 function wikidiff2_do_diff( $text1, $text2, $numContextLines, $movedParagraphDetectionCutoff = 0 ) {
 }
  */
 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 ) {
+}