Skip to content

Commit b90c7cb

Browse files
committed
feature #5078 [Cookbook] Add warning about Composer dev deps on Heroku (bicpi)
This PR was merged into the 2.3 branch. Discussion ---------- [Cookbook] Add warning about Composer dev deps on Heroku Q | A | ------------- | --- | Doc fix? | no | New docs? | no | Applies to | all | Fixed tickets | #4217 (partly) Commits ------- 3320b46 [Cookbook] Add warning about Composer dev deps on Heroku
2 parents c40b618 + 3320b46 commit b90c7cb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cookbook/deployment/heroku.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,13 @@ variables, you can issue a single command to prepare your app for a deployment:
141141
142142
$ heroku config:set SYMFONY_ENV=prod
143143
144+
.. caution::
145+
146+
Be aware that dependencies from ``composer.json`` listed in the ``require-dev``
147+
section are never installed during a deploy on Heroku. This may cause problems
148+
if your Symfony environment relies on such packages. The solution is to move these
149+
packages from ``require-dev`` to the ``require`` section.
150+
144151
.. _heroku-push-code:
145152
.. _pushing-to-heroku:
146153

0 commit comments

Comments
 (0)