WMDE-Fisch has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/367387 )
Change subject: Updating mediawiki-cs to 0.10.1 and fix issues ...................................................................... Updating mediawiki-cs to 0.10.1 and fix issues Change-Id: Iac61e49ab0f1318fcb7b23b4c90b6a427fe8957f --- M composer.json M engines/LuaCommon/TitleLibrary.php M tests/phpunit/engines/LuaCommon/UstringLibraryTest.php 3 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Scribunto refs/changes/87/367387/1 diff --git a/composer.json b/composer.json index d68bfe3..3550b4b 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ }, "require-dev": { "jakub-onderka/php-parallel-lint": "0.9.2", - "mediawiki/mediawiki-codesniffer": "0.10.0", + "mediawiki/mediawiki-codesniffer": "0.10.1", "jakub-onderka/php-console-highlighter": "0.3.2" }, "scripts": { diff --git a/engines/LuaCommon/TitleLibrary.php b/engines/LuaCommon/TitleLibrary.php index c7f7b64..7cbf453 100644 --- a/engines/LuaCommon/TitleLibrary.php +++ b/engines/LuaCommon/TitleLibrary.php @@ -354,7 +354,7 @@ } list( $sources, $restrictions ) = $title->getCascadeProtectionSources(); return [ [ - 'sources' => Scribunto_LuaTitleLibrary::makeArrayOneBased( array_map( + 'sources' => self::makeArrayOneBased( array_map( function ( $t ) { return $t->getPrefixedText(); }, diff --git a/tests/phpunit/engines/LuaCommon/UstringLibraryTest.php b/tests/phpunit/engines/LuaCommon/UstringLibraryTest.php index ddf535d..cbc3955 100644 --- a/tests/phpunit/engines/LuaCommon/UstringLibraryTest.php +++ b/tests/phpunit/engines/LuaCommon/UstringLibraryTest.php @@ -120,7 +120,7 @@ public function __construct( $engine ) { parent::__construct( $engine, 'UstringLibraryNormalizationTests' ); - if ( UstringLibraryNormalizationTestProvider::available() ) { + if ( self::available() ) { $this->file = fopen( __DIR__ . '/NormalizationTest.txt', 'r' ); } $this->rewind(); -- To view, visit https://gerrit.wikimedia.org/r/367387 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iac61e49ab0f1318fcb7b23b4c90b6a427fe8957f Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Scribunto Gerrit-Branch: master Gerrit-Owner: WMDE-Fisch <christoph.jau...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits