parser: Validate $length in padleft/padright parser functions
[lhc/web/wiklou.git] / includes / libs / jsminplus.php
index 40f22c5..e3c2d75 100644 (file)
@@ -1,5 +1,5 @@
 <?php
-// @codingStandardsIgnoreFile File external to MediaWiki. Ignore coding conventions checks.
+// phpcs:ignoreFile -- File external to MediaWiki. Ignore coding conventions checks.
 /**
  * JSMinPlus version 1.4
  *
@@ -973,8 +973,6 @@ class JSParser
                                        }
                                        while (!$ss[$i]->isLoop && ($tt != KEYWORD_BREAK || $ss[$i]->type != KEYWORD_SWITCH));
                                }
-
-                               $n->target = $ss[$i];
                        break;
 
                        case KEYWORD_TRY: