diff --git a/RSSParser.php b/RSSParser.php index 8bdd42a..a1c7159 100644 --- a/RSSParser.php +++ b/RSSParser.php @@ -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 - * @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' ) { diff --git a/composer.json b/composer.json index 4f55859..bf202bf 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/phpcs.xml b/phpcs.xml index 49a1a4f..f91e839 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -11,7 +11,5 @@ . - - vendor - node_modules +