jenkins-bot has submitted this change and it was merged.
Change subject: Add @codingStandardsIgnore tags to parser classes
......................................................................
Add @codingStandardsIgnore tags to parser classes
Change-Id: I16d19de3d2b2461a68030afd3a79aa59c9e948d4
---
M includes/parser/Preprocessor_DOM.php
M includes/parser/Preprocessor_Hash.php
2 files changed, 46 insertions(+), 0 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/parser/Preprocessor_DOM.php
b/includes/parser/Preprocessor_DOM.php
index f4e4dd1..6136555 100644
--- a/includes/parser/Preprocessor_DOM.php
+++ b/includes/parser/Preprocessor_DOM.php
@@ -23,8 +23,10 @@
/**
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class Preprocessor_DOM implements Preprocessor {
+ // @codingStandardsIgnoreEnd
/**
* @var Parser
@@ -952,8 +954,10 @@
/**
* An expansion frame, used as a context to expand the result of
preprocessToObj()
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPFrame_DOM implements PPFrame {
+ // @codingStandardsIgnoreEnd
/**
* @var Preprocessor
@@ -1547,8 +1551,11 @@
/**
* Expansion frame with template arguments
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPTemplateFrame_DOM extends PPFrame_DOM {
+ // @codingStandardsIgnoreEnd
+
public $numberedArgs, $namedArgs;
/**
@@ -1711,8 +1718,11 @@
/**
* Expansion frame with custom arguments
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPCustomFrame_DOM extends PPFrame_DOM {
+ // @codingStandardsIgnoreEnd
+
public $args;
public function __construct( $preprocessor, $args ) {
@@ -1757,8 +1767,10 @@
/**
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPNode_DOM implements PPNode {
+ // @codingStandardsIgnoreEnd
/**
* @var DOMElement
diff --git a/includes/parser/Preprocessor_Hash.php
b/includes/parser/Preprocessor_Hash.php
index d7f5953..f751832 100644
--- a/includes/parser/Preprocessor_Hash.php
+++ b/includes/parser/Preprocessor_Hash.php
@@ -26,8 +26,10 @@
* * attribute nodes are children
* * "<h>" nodes that aren't at the top are replaced with <possible-h>
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class Preprocessor_Hash implements Preprocessor {
+ // @codingStandardsIgnoreEnd
/**
* @var Parser
@@ -759,8 +761,11 @@
/**
* Stack class to help Preprocessor::preprocessToObj()
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPDStack_Hash extends PPDStack {
+ // @codingStandardsIgnoreEnd
+
public function __construct() {
$this->elementClass = 'PPDStackElement_Hash';
parent::__construct();
@@ -770,8 +775,11 @@
/**
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPDStackElement_Hash extends PPDStackElement {
+ // @codingStandardsIgnoreENd
+
public function __construct( $data = array() ) {
$this->partClass = 'PPDPart_Hash';
parent::__construct( $data );
@@ -808,8 +816,11 @@
/**
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPDPart_Hash extends PPDPart {
+ // @codingStandardsIgnoreEnd
+
public function __construct( $out = '' ) {
$accum = new PPDAccum_Hash;
if ( $out !== '' ) {
@@ -821,8 +832,11 @@
/**
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPDAccum_Hash {
+ // @codingStandardsIgnoreEnd
+
public $firstNode, $lastNode;
public function __construct() {
@@ -889,8 +903,10 @@
/**
* An expansion frame, used as a context to expand the result of
preprocessToObj()
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPFrame_Hash implements PPFrame {
+ // @codingStandardsIgnoreEnd
/**
* @var Parser
@@ -1453,8 +1469,11 @@
/**
* Expansion frame with template arguments
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPTemplateFrame_Hash extends PPFrame_Hash {
+ // @codingStandardsIgnoreEnd
+
public $numberedArgs, $namedArgs, $parent;
public $numberedExpansionCache, $namedExpansionCache;
@@ -1633,8 +1652,11 @@
/**
* Expansion frame with custom arguments
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPCustomFrame_Hash extends PPFrame_Hash {
+ // @codingStandardsIgnoreEnd
+
public $args;
public function __construct( $preprocessor, $args ) {
@@ -1683,8 +1705,11 @@
/**
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPNode_Hash_Tree implements PPNode {
+ // @codingStandardsIgnoreEnd
+
public $name, $firstChild, $lastChild, $nextSibling;
public function __construct( $name ) {
@@ -1905,8 +1930,11 @@
/**
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPNode_Hash_Text implements PPNode {
+ // @codingStandardsIgnoreEnd
+
public $value, $nextSibling;
public function __construct( $value ) {
@@ -1963,8 +1991,11 @@
/**
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPNode_Hash_Array implements PPNode {
+ // @codingStandardsIgnoreEnd
+
public $value, $nextSibling;
public function __construct( $value ) {
@@ -2018,8 +2049,11 @@
/**
* @ingroup Parser
+ * @codingStandardsIgnoreStart
*/
class PPNode_Hash_Attr implements PPNode {
+ // @codingStandardsIgnoreEnd
+
public $name, $value, $nextSibling;
public function __construct( $name, $value ) {
--
To view, visit https://gerrit.wikimedia.org/r/153457
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I16d19de3d2b2461a68030afd3a79aa59c9e948d4
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <[email protected]>
Gerrit-Reviewer: Cscott <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Jackmcbarn <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits