From 1eff710355bba662cecabf136e2dba81d9d960f8 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 7 Sep 2018 09:25:33 +0200 Subject: [PATCH] Revert "Merge pull request #447" This reverts commit 08c8f6eacdfbb4e788151638b9a46d7fb1527bc2, reversing changes made to 57119c1be7b3a6c3de17b2d36fde8bd324e127d0. --- README.rst | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 5e855e83..32c00f5c 100644 --- a/README.rst +++ b/README.rst @@ -209,8 +209,8 @@ Don't remove or modify these separators. Use ``%generate(secret)%`` as the value of any environment variable to replace it with a cryptographically secure random value of 16 bytes. -``auto-scripts`` Configurator -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +``composer-scripts`` Configurator +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Registers scripts in the ``auto-scripts`` section of the ``composer.json`` file to execute them automatically when running ``composer install`` and ``composer @@ -222,12 +222,10 @@ script (``php-script`` for PHP scripts, ``script`` for any shell script and .. code-block:: json { - "scripts": { - "auto-scripts": { - "vendor/bin/security-checker security:check": "php-script", - "make cache-warmup": "script", - "assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd" - } + "composer-scripts": { + "vendor/bin/security-checker security:check": "php-script", + "make cache-warmup": "script", + "assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd" } }