Code Monkey home page Code Monkey logo

composer-dotenv-handler's People

Contributors

yannoff avatar

Watchers

 avatar  avatar

composer-dotenv-handler's Issues

BC break on PHP < 7

on src/ScriptHandler.php line 35:

    $config = array_merge(self::getDefaults(), $extras[self::EXTRA_CONFIG_KEY] ?? []);

Since the coalescing operator was introduced in PHP 7, running the script on a PHP < 7.x environment will raise an error.

Inconsistency in symfony/dotenv version constraint

Problem solving dependencies when used with Symfony v4.x

$ composer update yannoff/composer-dotenv-handler
Executing: docker-compose exec fpm composer update yannoff/composer-dotenv-handler
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.3.*"
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for yannoff/composer-dotenv-handler ^1.2 -> satisfiable by yannoff/composer-dotenv-handler[1.2.0].
    - yannoff/composer-dotenv-handler 1.2.0 requires symfony/dotenv ^3.4 -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
 - It's a private package and you forgot to add a custom repository to find it

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Fix JSON values handling

JSON strings loose their wrapping quotes in the process between the dist file, the value entered at user prompt and the moment of writing the production .env file, which leads to symfony/env component raising a format error when parsing back.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.