-
-
Notifications
You must be signed in to change notification settings - Fork 196
Description
This is a continuation of #236 -- there are still many instances of getcwd()
.
-
https://github.com/symfony/flex/blob/master/src/Flex.php
(copies.env.dist to .env
) -
https://github.com/symfony/flex/blob/master/src/Configurator/CopyFromPackageConfigurator.php
-
https://github.com/symfony/flex/blob/master/src/Configurator/CopyFromRecipeConfigurator.php
-
https://github.com/symfony/flex/blob/master/src/Configurator/EnvConfigurator.php
-
https://github.com/symfony/flex/blob/master/src/Configurator/GitignoreConfigurator.php
-
https://github.com/symfony/flex/blob/master/src/Configurator/MakefileConfigurator.php
They all assume that the file/dir paths they need are relative to the dir composer is executed from. For my personal needs that's fine, but I'm wondering if some people could need that to be configurable.
For that, I think a new config option (e.g. something like root-dir
) would need to be introduced.
Thoughts? I will open a PR if this is something others are interested in.