Skip to content

Commit 08c8f6e

Browse files
author
symfony-flex-server[bot]
authored
Merge pull request #447
2 parents 57119c1 + bb96ce9 commit 08c8f6e

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ Don't remove or modify these separators.
209209
Use ``%generate(secret)%`` as the value of any environment variable to
210210
replace it with a cryptographically secure random value of 16 bytes.
211211

212-
``composer-scripts`` Configurator
213-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
212+
``auto-scripts`` Configurator
213+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
214214

215215
Registers scripts in the ``auto-scripts`` section of the ``composer.json`` file
216216
to execute them automatically when running ``composer install`` and ``composer
@@ -222,10 +222,12 @@ script (``php-script`` for PHP scripts, ``script`` for any shell script and
222222
.. code-block:: json
223223
224224
{
225-
"composer-scripts": {
226-
"vendor/bin/security-checker security:check": "php-script",
227-
"make cache-warmup": "script",
228-
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd"
225+
"scripts": {
226+
"auto-scripts": {
227+
"vendor/bin/security-checker security:check": "php-script",
228+
"make cache-warmup": "script",
229+
"assets:install --symlink --relative %PUBLIC_DIR%": "symfony-cmd"
230+
}
229231
}
230232
}
231233

0 commit comments

Comments
 (0)