MediaWiki REL1_35
ComposerHookHandler Class Reference

Static Public Member Functions

static onPreInstall (Event $event)
 
static onPreUpdate (Event $event)
 

Static Private Member Functions

static checkMergePluginActive (Event $event)
 Check if composer-merge-plugin has been activated.
 
static handleChangeEvent (Event $event)
 

Detailed Description

Note
GPL-2.0-or-later
Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Definition at line 14 of file ComposerHookHandler.php.

Member Function Documentation

◆ checkMergePluginActive()

static ComposerHookHandler::checkMergePluginActive ( Event  $event)
staticprivate

Check if composer-merge-plugin has been activated.

If not, the most likely explanation is that an old version of the plugin was present which did not support Composer 2, and so Composer disabled it.

Parameters
Event$event
Exceptions
Exception

Definition at line 29 of file ComposerHookHandler.php.

Referenced by onPreUpdate().

◆ handleChangeEvent()

static ComposerHookHandler::handleChangeEvent ( Event  $event)
staticprivate

Definition at line 52 of file ComposerHookHandler.php.

Referenced by onPreInstall(), and onPreUpdate().

◆ onPreInstall()

static ComposerHookHandler::onPreInstall ( Event  $event)
static

Definition at line 48 of file ComposerHookHandler.php.

References handleChangeEvent().

◆ onPreUpdate()

static ComposerHookHandler::onPreUpdate ( Event  $event)
static

Definition at line 16 of file ComposerHookHandler.php.

References checkMergePluginActive(), and handleChangeEvent().


The documentation for this class was generated from the following file: