X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fdiff%2FWordAccumulator.php;h=88631ed415acc78274e6a80af14b099d61e6a5cf;hb=f855ffc15fe1b373b2647cd086bf95f1f360bdd1;hp=ad802756efc7e12418ab45ffe29a53eebbfd0a7f;hpb=2dd58ade75d15a5895c0c010e17b6f729a0f72fe;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/diff/WordAccumulator.php b/includes/diff/WordAccumulator.php index ad802756ef..88631ed415 100644 --- a/includes/diff/WordAccumulator.php +++ b/includes/diff/WordAccumulator.php @@ -89,6 +89,8 @@ class WordAccumulator { $this->flushLine( $tag ); $word = substr( $word, 1 ); } + // FIXME: Don't use assert() + // phpcs:ignore MediaWiki.Usage.ForbiddenFunctions.assert assert( !strstr( $word, "\n" ) ); $this->group .= $word; }