Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b90c7cb

Browse filesBrowse 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
Copy full SHA for b90c7cb

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed

‎cookbook/deployment/heroku.rst

Copy file name to clipboardExpand all lines: cookbook/deployment/heroku.rst
+7Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.