-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
also load app autoloader when located in /vendor #23125
Conversation
Signed-off-by: Robin Appelman <robin@icewind.nl>
/backport to stable20 |
🤖 beep boop beep 🤖 Here are the logs for the failed build: Status of 33536: failurejsunitShow full log
|
But you can |
Or just put it in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 from my side since vendor is actually the default target directory for installing composer packages without additional configuration of the vendor-dir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well fine I guess
argh I'm so torn on this one. we have to check the file existence for every app. the os/fs will cache the result but still we do this. and if the require_once is in application.php (and we properly document this) it's explicit and less magical. |
Sounds sane 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then I'll change my mind one more time. I'll do the docs update.
with the phasing out of
app.php
apps can no longer load the autoloader from there themselvesSee #21812