First solution : add "keep-outdated": true in the "extra" section of your composer.json.
[...] "extra": { "symfony-app-dir": "app", "symfony-web-dir": "web", "incenteev-parameters": { "file": "app/config/parameters.yml", "keep-outdated": true <------------ ADDED LINE ------------ }, "branch-alias": { "dev-master": "2.3-dev" }, "symfony-assets-install": "symlink" } [...]
stimeev will no longer delete parameters.
Second solution : modify the file app / config / parameter.yml.dist. For me, it was adding the Sqlite parameters โpathโ and โmemoryโ and to avoid deleting them every time the composer was updated.
I donโt know which solution is better, but both work.
David Jacquel Oct 01 '13 at 21:53 2013-10-01 21:53
source share