dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Remove workaround for comparing database domain IDs."
[lhc/web/wiklou.git]
/
includes
/
parser
/
Preprocessor_Hash.php
diff --git
a/includes/parser/Preprocessor_Hash.php
b/includes/parser/Preprocessor_Hash.php
index
145fbbc
..
c4c0c5a
100644
(file)
--- a/
includes/parser/Preprocessor_Hash.php
+++ b/
includes/parser/Preprocessor_Hash.php
@@
-39,9
+39,8
@@
*
* @ingroup Parser
*/
*
* @ingroup Parser
*/
-//
@codingStandardsIgnoreStart
Squiz.Classes.ValidClassName.NotCamelCaps
+//
phpcs:ignore
Squiz.Classes.ValidClassName.NotCamelCaps
class Preprocessor_Hash extends Preprocessor {
class Preprocessor_Hash extends Preprocessor {
- // @codingStandardsIgnoreEnd
/**
* @var Parser
/**
* @var Parser
@@
-789,12
+788,11
@@
class Preprocessor_Hash extends Preprocessor {
* Stack class to help Preprocessor::preprocessToObj()
* @ingroup Parser
*/
* Stack class to help Preprocessor::preprocessToObj()
* @ingroup Parser
*/
-//
@codingStandardsIgnoreStart
Squiz.Classes.ValidClassName.NotCamelCaps
+//
phpcs:ignore
Squiz.Classes.ValidClassName.NotCamelCaps
class PPDStack_Hash extends PPDStack {
class PPDStack_Hash extends PPDStack {
- // @codingStandardsIgnoreEnd
public function __construct() {
public function __construct() {
- $this->elementClass =
'PPDStackElement_Hash'
;
+ $this->elementClass =
PPDStackElement_Hash::class
;
parent::__construct();
$this->rootAccum = [];
}
parent::__construct();
$this->rootAccum = [];
}
@@
-803,12
+801,11
@@
class PPDStack_Hash extends PPDStack {
/**
* @ingroup Parser
*/
/**
* @ingroup Parser
*/
-//
@codingStandardsIgnoreStart
Squiz.Classes.ValidClassName.NotCamelCaps
+//
phpcs:ignore
Squiz.Classes.ValidClassName.NotCamelCaps
class PPDStackElement_Hash extends PPDStackElement {
class PPDStackElement_Hash extends PPDStackElement {
- // @codingStandardsIgnoreEnd
public function __construct( $data = [] ) {
public function __construct( $data = [] ) {
- $this->partClass =
'PPDPart_Hash'
;
+ $this->partClass =
PPDPart_Hash::class
;
parent::__construct( $data );
}
parent::__construct( $data );
}
@@
-857,9
+854,8
@@
class PPDStackElement_Hash extends PPDStackElement {
/**
* @ingroup Parser
*/
/**
* @ingroup Parser
*/
-//
@codingStandardsIgnoreStart
Squiz.Classes.ValidClassName.NotCamelCaps
+//
phpcs:ignore
Squiz.Classes.ValidClassName.NotCamelCaps
class PPDPart_Hash extends PPDPart {
class PPDPart_Hash extends PPDPart {
- // @codingStandardsIgnoreEnd
public function __construct( $out = '' ) {
if ( $out !== '' ) {
public function __construct( $out = '' ) {
if ( $out !== '' ) {
@@
-875,9
+871,8
@@
class PPDPart_Hash extends PPDPart {
* An expansion frame, used as a context to expand the result of preprocessToObj()
* @ingroup Parser
*/
* An expansion frame, used as a context to expand the result of preprocessToObj()
* @ingroup Parser
*/
-//
@codingStandardsIgnoreStart
Squiz.Classes.ValidClassName.NotCamelCaps
+//
phpcs:ignore
Squiz.Classes.ValidClassName.NotCamelCaps
class PPFrame_Hash implements PPFrame {
class PPFrame_Hash implements PPFrame {
- // @codingStandardsIgnoreEnd
/**
* @var Parser
/**
* @var Parser
@@
-1475,9
+1470,8
@@
class PPFrame_Hash implements PPFrame {
* Expansion frame with template arguments
* @ingroup Parser
*/
* Expansion frame with template arguments
* @ingroup Parser
*/
-//
@codingStandardsIgnoreStart
Squiz.Classes.ValidClassName.NotCamelCaps
+//
phpcs:ignore
Squiz.Classes.ValidClassName.NotCamelCaps
class PPTemplateFrame_Hash extends PPFrame_Hash {
class PPTemplateFrame_Hash extends PPFrame_Hash {
- // @codingStandardsIgnoreEnd
public $numberedArgs, $namedArgs, $parent;
public $numberedExpansionCache, $namedExpansionCache;
public $numberedArgs, $namedArgs, $parent;
public $numberedExpansionCache, $namedExpansionCache;
@@
-1658,9
+1652,8
@@
class PPTemplateFrame_Hash extends PPFrame_Hash {
* Expansion frame with custom arguments
* @ingroup Parser
*/
* Expansion frame with custom arguments
* @ingroup Parser
*/
-//
@codingStandardsIgnoreStart
Squiz.Classes.ValidClassName.NotCamelCaps
+//
phpcs:ignore
Squiz.Classes.ValidClassName.NotCamelCaps
class PPCustomFrame_Hash extends PPFrame_Hash {
class PPCustomFrame_Hash extends PPFrame_Hash {
- // @codingStandardsIgnoreEnd
public $args;
public $args;
@@
-1711,9
+1704,8
@@
class PPCustomFrame_Hash extends PPFrame_Hash {
/**
* @ingroup Parser
*/
/**
* @ingroup Parser
*/
-//
@codingStandardsIgnoreStart
Squiz.Classes.ValidClassName.NotCamelCaps
+//
phpcs:ignore
Squiz.Classes.ValidClassName.NotCamelCaps
class PPNode_Hash_Tree implements PPNode {
class PPNode_Hash_Tree implements PPNode {
- // @codingStandardsIgnoreEnd
public $name;
public $name;
@@
-1774,12
+1766,12
@@
class PPNode_Hash_Tree implements PPNode {
$descriptor = $store[$index];
if ( is_string( $descriptor ) ) {
$descriptor = $store[$index];
if ( is_string( $descriptor ) ) {
- $class =
'PPNode_Hash_Text'
;
+ $class =
PPNode_Hash_Text::class
;
} elseif ( is_array( $descriptor ) ) {
if ( $descriptor[self::NAME][0] === '@' ) {
} elseif ( is_array( $descriptor ) ) {
if ( $descriptor[self::NAME][0] === '@' ) {
- $class =
'PPNode_Hash_Attr'
;
+ $class =
PPNode_Hash_Attr::class
;
} else {
} else {
- $class =
'PPNode_Hash_Tree'
;
+ $class =
self::class
;
}
} else {
throw new MWException( __METHOD__.': invalid node descriptor' );
}
} else {
throw new MWException( __METHOD__.': invalid node descriptor' );
@@
-2059,9
+2051,8
@@
class PPNode_Hash_Tree implements PPNode {
/**
* @ingroup Parser
*/
/**
* @ingroup Parser
*/
-//
@codingStandardsIgnoreStart
Squiz.Classes.ValidClassName.NotCamelCaps
+//
phpcs:ignore
Squiz.Classes.ValidClassName.NotCamelCaps
class PPNode_Hash_Text implements PPNode {
class PPNode_Hash_Text implements PPNode {
- // @codingStandardsIgnoreEnd
public $value;
private $store, $index;
public $value;
private $store, $index;
@@
-2130,9
+2121,8
@@
class PPNode_Hash_Text implements PPNode {
/**
* @ingroup Parser
*/
/**
* @ingroup Parser
*/
-//
@codingStandardsIgnoreStart
Squiz.Classes.ValidClassName.NotCamelCaps
+//
phpcs:ignore
Squiz.Classes.ValidClassName.NotCamelCaps
class PPNode_Hash_Array implements PPNode {
class PPNode_Hash_Array implements PPNode {
- // @codingStandardsIgnoreEnd
public $value;
public $value;
@@
-2188,9
+2178,8
@@
class PPNode_Hash_Array implements PPNode {
/**
* @ingroup Parser
*/
/**
* @ingroup Parser
*/
-//
@codingStandardsIgnoreStart
Squiz.Classes.ValidClassName.NotCamelCaps
+//
phpcs:ignore
Squiz.Classes.ValidClassName.NotCamelCaps
class PPNode_Hash_Attr implements PPNode {
class PPNode_Hash_Attr implements PPNode {
- // @codingStandardsIgnoreEnd
public $name, $value;
private $store, $index;
public $name, $value;
private $store, $index;