mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TitleBlacklist
synced 2024-11-27 15:30:48 +00:00
build: Updating dependencies
composer: * mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0 npm: * eslint-config-wikimedia: 0.25.0 → 0.26.0 * grunt-banana-checker: 0.11.0 → 0.11.1 * grunt-eslint: 24.0.1 → 24.3.0 Change-Id: I28f3c498c8403fa270d56d3a3bad538410e4d6b2
This commit is contained in:
parent
15d4112f18
commit
cdd7bd3503
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
||||||
"mediawiki/mediawiki-phan-config": "0.12.1",
|
"mediawiki/mediawiki-phan-config": "0.14.0",
|
||||||
"mediawiki/minus-x": "1.1.1",
|
"mediawiki/minus-x": "1.1.1",
|
||||||
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
||||||
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
namespace MediaWiki\Extension\TitleBlacklist;
|
namespace MediaWiki\Extension\TitleBlacklist;
|
||||||
|
|
||||||
use CoreParserFunctions;
|
use CoreParserFunctions;
|
||||||
use Exception;
|
|
||||||
use ExtensionRegistry;
|
use ExtensionRegistry;
|
||||||
|
use MediaWiki\Config\ConfigException;
|
||||||
use MediaWiki\Extension\AntiSpoof\AntiSpoof;
|
use MediaWiki\Extension\AntiSpoof\AntiSpoof;
|
||||||
use MediaWiki\MediaWikiServices;
|
use MediaWiki\MediaWikiServices;
|
||||||
use Wikimedia\AtEase\AtEase;
|
use Wikimedia\AtEase\AtEase;
|
||||||
|
@ -84,7 +84,7 @@ class TitleBlacklistEntry {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !is_array( $wgTitleBlacklistUsernameSources ) ) {
|
if ( !is_array( $wgTitleBlacklistUsernameSources ) ) {
|
||||||
throw new Exception(
|
throw new ConfigException(
|
||||||
'$wgTitleBlacklistUsernameSources must be "*", false or an array' );
|
'$wgTitleBlacklistUsernameSources must be "*", false or an array' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2122
package-lock.json
generated
2122
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -5,9 +5,9 @@
|
||||||
"test": "grunt test"
|
"test": "grunt test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-wikimedia": "0.25.0",
|
"eslint-config-wikimedia": "0.26.0",
|
||||||
"grunt": "1.6.1",
|
"grunt": "1.6.1",
|
||||||
"grunt-banana-checker": "0.11.0",
|
"grunt-banana-checker": "0.11.1",
|
||||||
"grunt-eslint": "24.0.1"
|
"grunt-eslint": "24.3.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue