mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RSS
synced 2024-12-04 12:18:06 +00:00
Add phan-taint-check-plugin
Change-Id: Iba4a73608ad205790c0f3d60b843d9448ae52ebb
This commit is contained in:
parent
2d1bb50eb2
commit
bf50acff3a
|
@ -21,6 +21,7 @@ class RSSHooks {
|
||||||
* @param Parser $parser
|
* @param Parser $parser
|
||||||
* @param PPFrame $frame parser context
|
* @param PPFrame $frame parser context
|
||||||
* @return string
|
* @return string
|
||||||
|
* @suppress SecurityCheck-XSS see T203210
|
||||||
*/
|
*/
|
||||||
static function renderRss( $input, array $args, Parser $parser, PPFrame $frame ) {
|
static function renderRss( $input, array $args, Parser $parser, PPFrame $frame ) {
|
||||||
global $wgRSSCacheAge, $wgRSSCacheCompare, $wgRSSNamespaces,
|
global $wgRSSCacheAge, $wgRSSCacheCompare, $wgRSSNamespaces,
|
||||||
|
|
|
@ -15,5 +15,8 @@
|
||||||
"phpcs -p -s",
|
"phpcs -p -s",
|
||||||
"minus-x check ."
|
"minus-x check ."
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"phan-taint-check-plugin": "1.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue