Symfony2 stop Composer installing parameters.yml.dist into parameters.yml

后端 未结 4 605
有刺的猬
有刺的猬 2020-12-13 08:47

New in symfony 2.3 the composer install script also copies the parameters.yml.dist file contents into the parameters.yml file, explain

4条回答
  •  醉话见心
    2020-12-13 09:07

    This is the correct solution in my opinion:

    "incenteev-parameters": {
        "file": "app/config/parameters.yml",
        "keep-outdated": true
    },
    

    It was mentioned in this github issue https://github.com/symfony/symfony-standard/issues/642 as well as in the github documentation for incenteev-parameters https://github.com/Incenteev/ParameterHandler

提交回复
热议问题