build: Updating mediawiki/mediawiki-codesniffer to 13.0.0

Change-Id: I09c3533b611b98169868f724ac929b20dbe7e43a
This commit is contained in:
libraryupgrader 2017-09-24 03:51:18 +00:00
parent 22b9763250
commit 773cc2e8b2
3 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{
"require-dev": {
"jakub-onderka/php-parallel-lint": "0.9.2",
"mediawiki/mediawiki-codesniffer": "0.12.0",
"mediawiki/mediawiki-codesniffer": "13.0.0",
"jakub-onderka/php-console-highlighter": "0.3.2"
},
"scripts": {

View file

@ -225,7 +225,7 @@ class Database {
* @return int[]
*/
public function getTotals( $conds = [] ) {
$rows = wfGetDB( DB_SLAVE )->select(
$rows = wfGetDB( DB_REPLICA )->select(
'linter',
[ 'linter_cat', 'COUNT(*) AS count' ],
$conds,

View file

@ -23,7 +23,6 @@ namespace MediaWiki\Linter;
use HTMLForm;
use Html;
use MediaWiki\MediaWikiServices;
use ObjectCache;
use SpecialPage;
class SpecialLintErrors extends SpecialPage {