mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Fix for #2557, added missing run-scripts
This commit is contained in:
parent
808e65f7de
commit
fd4fb80d1e
1 changed files with 6 additions and 0 deletions
|
@ -52,6 +52,12 @@ EOT
|
|||
ScriptEvents::POST_UPDATE_CMD,
|
||||
ScriptEvents::PRE_STATUS_CMD,
|
||||
ScriptEvents::POST_STATUS_CMD,
|
||||
ScriptEvents::POST_ROOT_PACKAGE_INSTALL,
|
||||
ScriptEvents::POST_CREATE_PROJECT_CMD,
|
||||
ScriptEvents::PRE_ARCHIVE_CMD,
|
||||
ScriptEvents::POST_ARCHIVE_CMD,
|
||||
ScriptEvents::PRE_AUTOLOAD_DUMP,
|
||||
ScriptEvents::POST_AUTOLOAD_DUMP
|
||||
))) {
|
||||
if (defined('Composer\Script\ScriptEvents::'.str_replace('-', '_', strtoupper($script)))) {
|
||||
throw new \InvalidArgumentException(sprintf('Script "%s" cannot be run with this command', $script));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue