mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RSS
synced 2024-11-11 16:59:16 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: Ifafccf48234a036349ac41cc398171081398e1e7
This commit is contained in:
parent
0295df5de6
commit
b670afe90a
|
@ -182,7 +182,7 @@ class RSSParser {
|
|||
/**
|
||||
* Retrieve the URL from the cache
|
||||
* @param $key String: lookup key to associate with this item
|
||||
* @return boolean
|
||||
* @return bool
|
||||
*/
|
||||
protected function loadFromCache( $key ) {
|
||||
global $wgMemc, $wgRSSCacheCompare;
|
||||
|
@ -218,7 +218,7 @@ class RSSParser {
|
|||
/**
|
||||
* Store these objects (i.e. etag, lastModified, and RSS) in the cache.
|
||||
* @param $key String: lookup key to associate with this item
|
||||
* @return boolean
|
||||
* @return bool
|
||||
*/
|
||||
protected function storeInCache( $key ) {
|
||||
global $wgMemc, $wgRSSCacheAge;
|
||||
|
@ -575,7 +575,7 @@ class RSSParser {
|
|||
* Determine if a given item should or should not be displayed
|
||||
*
|
||||
* @param $item Array: associative array that RSSData produced for an <item>
|
||||
* @return boolean
|
||||
* @return bool
|
||||
*/
|
||||
protected function canDisplay( array $item ) {
|
||||
$check = '';
|
||||
|
@ -602,7 +602,7 @@ class RSSParser {
|
|||
* @param $text String: the text to examine
|
||||
* @param $filterType String: "filterOut" to check for matches in the filterOut member list.
|
||||
* Otherwise, uses the filter member list.
|
||||
* @return Boolean: decision to filter or not.
|
||||
* @return bool Decision to filter or not.
|
||||
*/
|
||||
protected function filter( $text, $filterType ) {
|
||||
if ( $filterType === 'filterOut' ) {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"require-dev": {
|
||||
"jakub-onderka/php-parallel-lint": "0.9.2",
|
||||
"jakub-onderka/php-console-highlighter": "0.3.2",
|
||||
"mediawiki/mediawiki-codesniffer": "0.10.0"
|
||||
"mediawiki/mediawiki-codesniffer": "0.10.1"
|
||||
},
|
||||
"scripts": {
|
||||
"fix": "phpcbf",
|
||||
|
|
Loading…
Reference in a new issue