Skip to content

Commit f251422

Browse files
committed
-
1 parent 7cbb072 commit f251422

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

deployment.rst

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,22 @@ your application:
122122
123123
$ composer require symfony/requirements-checker
124124
125-
Then, make sure that the ``auto-scripts`` option of your ``composer.json`` file
126-
includes the following entry:
125+
Then, make sure that the checker is included in your Composer scripts:
127126

128127
.. code-block:: json
129128
130-
"vendor/bin/requirements-checker": "php-script",
129+
{
130+
"...": "...",
131+
132+
"scripts": {
133+
"auto-scripts": {
134+
"vendor/bin/requirements-checker": "php-script",
135+
"...": "..."
136+
},
137+
138+
"...": "..."
139+
}
140+
}
131141
132142
.. _b-configure-your-app-config-parameters-yml-file:
133143

0 commit comments

Comments
 (0)