build: Updating mediawiki/mediawiki-codesniffer to 0.10.1

Change-Id: Ifafccf48234a036349ac41cc398171081398e1e7
This commit is contained in:
Umherirrender 2017-07-26 23:02:17 +02:00
parent 0295df5de6
commit b670afe90a
3 changed files with 6 additions and 8 deletions

View file

@ -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' ) {

View file

@ -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",

View file

@ -11,7 +11,5 @@
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc" />
<arg name="encoding" value="utf8" />
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>node_modules</exclude-pattern>
<arg name="encoding" value="UTF-8" />
</ruleset>