build: Updating composer dependencies

* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.3.0
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

Libup is broken on the build steps due to different node versions

Change-Id: I28aefe77365b9812f9cc0f9e5177f45e9f5c2cc2
This commit is contained in:
Umherirrender 2021-05-19 19:38:42 +02:00
parent 0853a4d316
commit 0f087ce5e9
2 changed files with 9 additions and 9 deletions

View file

@ -1,9 +1,9 @@
{ {
"require-dev": { "require-dev": {
"php-parallel-lint/php-parallel-lint": "1.2.0", "php-parallel-lint/php-parallel-lint": "1.3.0",
"mediawiki/mediawiki-codesniffer": "35.0.0", "mediawiki/mediawiki-codesniffer": "36.0.0",
"php-parallel-lint/php-console-highlighter": "0.5.0", "php-parallel-lint/php-console-highlighter": "0.5.0",
"mediawiki/minus-x": "1.1.0", "mediawiki/minus-x": "1.1.1",
"mediawiki/mediawiki-phan-config": "0.10.6" "mediawiki/mediawiki-phan-config": "0.10.6"
}, },
"scripts": { "scripts": {

View file

@ -11,31 +11,31 @@ use Popups\UserPreferencesChangeHandler;
* @codeCoverageIgnore * @codeCoverageIgnore
*/ */
return [ return [
'Popups.Config' => function ( MediaWikiServices $services ) { 'Popups.Config' => static function ( MediaWikiServices $services ) {
return $services->getService( 'ConfigFactory' ) return $services->getService( 'ConfigFactory' )
->makeConfig( PopupsContext::EXTENSION_NAME ); ->makeConfig( PopupsContext::EXTENSION_NAME );
}, },
'Popups.GadgetsIntegration' => function ( MediaWikiServices $services ) { 'Popups.GadgetsIntegration' => static function ( MediaWikiServices $services ) {
return new PopupsGadgetsIntegration( return new PopupsGadgetsIntegration(
$services->getService( 'Popups.Config' ), $services->getService( 'Popups.Config' ),
ExtensionRegistry::getInstance() ExtensionRegistry::getInstance()
); );
}, },
'Popups.EventLogger' => function ( MediaWikiServices $services ) { 'Popups.EventLogger' => static function ( MediaWikiServices $services ) {
$factory = new EventLoggerFactory( $factory = new EventLoggerFactory(
ExtensionRegistry::getInstance() ExtensionRegistry::getInstance()
); );
return $factory->get(); return $factory->get();
}, },
'Popups.UserPreferencesChangeHandler' => function ( MediaWikiServices $services ) { 'Popups.UserPreferencesChangeHandler' => static function ( MediaWikiServices $services ) {
return new UserPreferencesChangeHandler( return new UserPreferencesChangeHandler(
$services->getService( 'Popups.Context' ) $services->getService( 'Popups.Context' )
); );
}, },
'Popups.Logger' => function ( MediaWikiServices $services ) { 'Popups.Logger' => static function ( MediaWikiServices $services ) {
return LoggerFactory::getInstance( PopupsContext::LOGGER_CHANNEL ); return LoggerFactory::getInstance( PopupsContext::LOGGER_CHANNEL );
}, },
'Popups.Context' => function ( MediaWikiServices $services ) { 'Popups.Context' => static function ( MediaWikiServices $services ) {
return new PopupsContext( return new PopupsContext(
$services->getService( 'Popups.Config' ), $services->getService( 'Popups.Config' ),
ExtensionRegistry::getInstance(), ExtensionRegistry::getInstance(),