Siebrand has uploaded a new change for review.
https://gerrit.wikimedia.org/r/96566
Change subject: Silence false positive CodeSniffer error
......................................................................
Silence false positive CodeSniffer error
Change-Id: I0e0c408491ffdd586c2d45657ea831a6646c6c92
---
M includes/diff/DairikiDiff.php
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/66/96566/1
diff --git a/includes/diff/DairikiDiff.php b/includes/diff/DairikiDiff.php
index 37f1e59..4c78561 100644
--- a/includes/diff/DairikiDiff.php
+++ b/includes/diff/DairikiDiff.php
@@ -379,7 +379,9 @@
}
$x1 = $xoff + (int)( ( $numer + ( $xlim - $xoff ) *
$chunk ) / $nchunks );
+ // @codingStandardsIgnoreStart Silence 'Space found
before semicolon; expected "(;"'
for ( ; $x < $x1; $x++ ) {
+ // // @codingStandardsIgnoreEnd
$line = $flip ? $this->yv[$x] : $this->xv[$x];
if ( empty( $ymatches[$line] ) ) {
continue;
--
To view, visit https://gerrit.wikimedia.org/r/96566
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0e0c408491ffdd586c2d45657ea831a6646c6c92
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits