Symfony composer update messes with SymfonyRequirements path

做~自己de王妃 提交于 2019-12-24 02:58:29

问题


I created a new Symfony project symfony new test.

Then if I check Symfony Requirements php bin/symfony_requirements , it works as expected.

bin/symfony_requirements

require_once dirname(__FILE__).'/../var/SymfonyRequirements.php';

But when I made a composer update, in bin/symfony_requirements and in web/config.php, the path to SymfonyRequirements.php is changed to :

bin/symfony_requirements and web/config/php

require_once dirname(__FILE__).'/./SymfonyRequirements.php';

So obviously, calling symfony_requirements or config.php with the browser failed since the path to SymfonyRequirements is wrong.

This is the first time that composer messes like that.

I have the latest composer (1.5.1).

Thanks for any help.

来源:https://stackoverflow.com/questions/45841958/symfony-composer-update-messes-with-symfonyrequirements-path

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!