From c9e785cf1961b08e3c98732d323b301bc1d88ec2 Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Tue, 28 May 2024 17:18:30 +1000 Subject: [PATCH] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 13dc0b8..e2c0496 100644 --- a/README.md +++ b/README.md @@ -243,10 +243,14 @@ class CustomizerConfig { ### `cleanup()` Using the `cleanup()` method, the template project authors can additionally -process the `composer.json` file content before all dependencies are updated and -process files. This runs after all answers are received and the user confirms +process the `composer.json` file content before all dependencies are updated. +This runs after all answers are received and the user confirms the intended changes. +Use `$composerjson = [];` to prevent dependencies updates by the Customizer. +This essentially means that you are managing that process outside of this +method. + ```php /** * A callback to process cleanup.