mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-23 23:44:17 +00:00
build: Updating mediawiki/mediawiki-codesniffer to 13.0.0
Change-Id: I09c3533b611b98169868f724ac929b20dbe7e43a
This commit is contained in:
parent
22b9763250
commit
773cc2e8b2
|
@ -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": {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -23,7 +23,6 @@ namespace MediaWiki\Linter;
|
|||
use HTMLForm;
|
||||
use Html;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use ObjectCache;
|
||||
use SpecialPage;
|
||||
|
||||
class SpecialLintErrors extends SpecialPage {
|
||||
|
|
Loading…
Reference in a new issue