Composer 2.2.9 + (laravel/framework or illuminate/support) + anything that requires cakephp/core = calls to env() go to CakePHP env() instead of Illuminate\Support\env() #41840
Unanswered
AlbinoDrought
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
See other comment here: composer/composer#10617 (comment)
If you're having issues with
env()
returning unexpected values recently, orputenv()
seeming to not work, this is probably why.To ensure you don't experience this, mark your application as conflicting with
cakephp/core
in composer.json:Cheers!
Beta Was this translation helpful? Give feedback.
All reactions