Lethexie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/276110

Change subject: Changes in SpaceAfterControlStructureSniff.php
......................................................................

Changes in SpaceAfterControlStructureSniff.php

add the T_ELSEIF tokens need to be sniffed

Bug: T89682
Change-Id: I3dfd6213f1748a4ac0a612d3cc9d48cea9578779
---
M MediaWiki/Sniffs/WhiteSpace/SpaceAfterControlStructureSniff.php
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/tools/codesniffer 
refs/changes/10/276110/1

diff --git a/MediaWiki/Sniffs/WhiteSpace/SpaceAfterControlStructureSniff.php 
b/MediaWiki/Sniffs/WhiteSpace/SpaceAfterControlStructureSniff.php
index 8a54e45..d69ae5e 100644
--- a/MediaWiki/Sniffs/WhiteSpace/SpaceAfterControlStructureSniff.php
+++ b/MediaWiki/Sniffs/WhiteSpace/SpaceAfterControlStructureSniff.php
@@ -10,6 +10,7 @@
                // Per 
https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#Spaces
                return [
                        T_IF,
+                       T_ELSEIF,
                        T_WHILE,
                        T_FOR,
                        T_FOREACH,

-- 
To view, visit https://gerrit.wikimedia.org/r/276110
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3dfd6213f1748a4ac0a612d3cc9d48cea9578779
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/tools/codesniffer
Gerrit-Branch: master
Gerrit-Owner: Lethexie <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to