From 2d2882638cc95d8372f074bed0c2d803d99b50e2 Mon Sep 17 00:00:00 2001 From: Brian Henry Date: Mon, 27 Jan 2020 16:42:20 -0800 Subject: [PATCH] Bugfix: Composer broken in 0.6.0 update After the 0.6.0 update, Composer's `scripts/post-install-cmd` and `scripts/post-update-cmd` were no longer running. This was due to PHP _exiting_ outright rather than _returning_ the `$exitCode`. --- src/Plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin.php b/src/Plugin.php index 85ae8d71..141dda62 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -206,7 +206,7 @@ public function onDependenciesChangedEvent() } } - exit($exitCode); + return $exitCode; } /**