You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This request isn't a duplicate of an existing issue
I've read the docs and followed them (if applicable)
This is not a personal support request that should be posted on the Roots Discourse community
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
composer create-project roots/bedrock bedrock
composer require ilab/ilab-media-tools
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
Description
env
function is colliding withilluminate/support
.The function
env
is redefined in packageilluminate/support
which is a dependency ofilab/ilab-media-tools
, the issue is that theenv
function fromilluminate/support
is defined first and cause:Steps to reproduce
composer create-project roots/bedrock bedrock
composer require ilab/ilab-media-tools
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 versionReproducer 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 PRThe text was updated successfully, but these errors were encountered: