From 4d1416050dcf3493d2fb2d411dc1490d47fd3001 Mon Sep 17 00:00:00 2001 From: Filippo Tessarotto Date: Fri, 25 Mar 2016 12:16:56 +0100 Subject: [PATCH] Adapt scripts doc to 55b0ed8c8be74af348d9fec6702da3efd50feb46 --- doc/articles/scripts.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/articles/scripts.md b/doc/articles/scripts.md index fcb2f7b4c..02226526a 100644 --- a/doc/articles/scripts.md +++ b/doc/articles/scripts.md @@ -22,11 +22,10 @@ Composer fires the following named events during its execution process: ### Command Events -- **pre-install-cmd**: occurs before the `install` command is executed. -- **post-install-cmd**: occurs after the `install` command has been executed. -- **pre-update-cmd**: occurs before the `update` command is executed. -- **post-update-cmd**: occurs after the `update` command has been executed. -- **pre-status-cmd**: occurs before the `status` command is executed. +- **pre-install-cmd**: occurs before the `install` command is executed with a lock file present. +- **post-install-cmd**: occurs after the `install` command has been executed with a lock file present. +- **pre-update-cmd**: occurs before the `update` command is executed, or before the `install` command is executed without a lock file present. +- **post-update-cmd**: occurs after the `update` command has been executed, or after the `install` command has been executed without a lock file present. - **post-status-cmd**: occurs after the `status` command has been executed. - **pre-archive-cmd**: occurs before the `archive` command is executed. - **post-archive-cmd**: occurs after the `archive` command has been executed.