Why does composer update remove my parameter?

I am using a Sqlite database, so in my config.yml I used the path to my Sqlite file as follows:

path: "%database_path%"

And in my .yml options I defined like this:

database_path : '%kernel.root_dir%/data/sqlite.db'

But when I execute the command composer updatein my terminal, I have this error:

You requested a non-existent parameter "database_path". Did you mean one of them: "database_user", "database_host", "database_port", "Database_name"?

and when I look at my .yml options, I understand that my "database_path" option has been deleted!

Why do we need a team composer update?

If I changed my "database path" to "database_name", for example, it works ... I don’t understand

EDIT: , parameters.yml.dist

+4

Source: https://habr.com/ru/post/1531517/


All Articles