build: Updating dependencies

composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* grunt-banana-checker: 0.11.0 → 0.11.1

Change-Id: Ib6b54f76834223f662a20bcdd4bbeb3340806696
This commit is contained in:
libraryupgrader 2024-02-09 17:50:19 +00:00 committed by Daimona Eaytoy
parent 9aeab9747a
commit 082686abe4
4 changed files with 11 additions and 11 deletions

View file

@ -5,7 +5,7 @@
"license": "GPL-2.0-or-later",
"require-dev": {
"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",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.3.2"

14
package-lock.json generated
View file

@ -8,7 +8,7 @@
"devDependencies": {
"eslint-config-wikimedia": "0.26.0",
"grunt": "1.6.1",
"grunt-banana-checker": "0.11.0",
"grunt-banana-checker": "0.11.1",
"grunt-eslint": "24.3.0",
"grunt-stylelint": "0.19.0",
"stylelint-config-wikimedia": "0.16.1"
@ -2516,9 +2516,9 @@
}
},
"node_modules/grunt-banana-checker": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.0.tgz",
"integrity": "sha512-qXtcxu7y9GFEIx6ELm5jSf+JqvCafdco+t/YsrUhUDNe9AgCnP7X0R+PxT0qZaDftKVrDrR2gPOYqpaAye5bDw==",
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.1.tgz",
"integrity": "sha512-CF0h/TXaX9sbF2yIz+fUfJc4Zvms7XGYQ7ZYMD5+vv0LMZzSFf7JSHXDaBEs72nQWw4r4ap5fOW3baAliW+0bQ==",
"dev": true,
"bin": {
"banana-checker": "src/cli.js"
@ -7199,9 +7199,9 @@
}
},
"grunt-banana-checker": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.0.tgz",
"integrity": "sha512-qXtcxu7y9GFEIx6ELm5jSf+JqvCafdco+t/YsrUhUDNe9AgCnP7X0R+PxT0qZaDftKVrDrR2gPOYqpaAye5bDw==",
"version": "0.11.1",
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.1.tgz",
"integrity": "sha512-CF0h/TXaX9sbF2yIz+fUfJc4Zvms7XGYQ7ZYMD5+vv0LMZzSFf7JSHXDaBEs72nQWw4r4ap5fOW3baAliW+0bQ==",
"dev": true
},
"grunt-cli": {

View file

@ -7,7 +7,7 @@
"devDependencies": {
"eslint-config-wikimedia": "0.26.0",
"grunt": "1.6.1",
"grunt-banana-checker": "0.11.0",
"grunt-banana-checker": "0.11.1",
"grunt-eslint": "24.3.0",
"grunt-stylelint": "0.19.0",
"stylelint-config-wikimedia": "0.16.1"

View file

@ -159,7 +159,7 @@ class SpecialReplaceText extends SpecialPage {
if ( $this->getConfig()->get( 'CompressRevisions' ) ) {
throw new ErrorPageError( 'replacetext_cfg_error', 'replacetext_no_compress' );
}
if ( !empty( $this->getConfig()->get( 'ExternalStores' ) ) ) {
if ( $this->getConfig()->get( 'ExternalStores' ) ) {
throw new ErrorPageError( 'replacetext_cfg_error', 'replacetext_no_external_stores' );
}
@ -282,7 +282,7 @@ class SpecialReplaceText extends SpecialPage {
if ( count( $titles_for_edit ) == 0 && count( $titles_for_move ) == 0 ) {
$category_title_exists = true;
if ( !empty( $this->category ) ) {
if ( $this->category ) {
$category_title = Title::makeTitleSafe( NS_CATEGORY, $this->category );
if ( !$category_title->exists() ) {
$category_title_exists = false;