Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

env function collide with illuminate/support #515

Closed
4 tasks done
marmorag opened this issue Apr 28, 2020 · 1 comment · Fixed by #530
Closed
4 tasks done

env function collide with illuminate/support #515

marmorag opened this issue Apr 28, 2020 · 1 comment · Fixed by #530

Comments

@marmorag
Copy link

marmorag commented Apr 28, 2020

Description

env function is colliding with illuminate/support.

The function env is redefined in package illuminate/support which is a dependency of ilab/ilab-media-tools, the issue is that the env function from illuminate/support is defined first and cause:

Uncaught Error: Class 'Dotenv\Environment\Adapter\EnvConstAdapter' not found in /var/www/html/vendor/illuminate/support/Env.php:67

Steps to reproduce

  1. composer create-project roots/bedrock bedrock
  2. composer require ilab/ilab-media-tools
  3. you get the error

Expected behavior: No error

Actual behavior: Class not found exception

Reproduces how often: 100%

Versions

At least 1.13.4 I did not test with other version
Reproducer on Ubuntu 18.04, and Debian 10 for original issue

Additional information

You can find a reproducer on this repository a "fix" is on branch fix and there's the PR

@tangrufus
Copy link
Member

Fixed in #530

Thanks for reporting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants