8000 Add `illuminate/support` dependency by duncanmcclean · Pull Request #97 · statamic/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add illuminate/support dependency #97

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

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Conversation

duncanmcclean
Copy link
Member

This pull request adds illuminate/support as an explicit dependency for the Statamic CLI.

By requiring it explicitly, it ensures that the collect() function is available, which we use in our "do you want to setup a database" prompt.

When we tested the database prompt before release, we probably had other global Composer dependencies installed which required illuminate/support, making collect() available. However, if you don't have any other global dependencies installed, you might have seen a Call to undefined function Statamic\Cli\Concerns\collect() error.

Fixes #96.

@duncanmcclean duncanmcclean merged commit 2156131 into master Feb 17, 2025
@duncanmcclean duncanmcclean deleted the illuminate-support branch February 21, 2025 18:58
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 this pull request may close these issues.

Unable to use the Database option with Statamic CLI 3.6.0 - Receive FATAL ERROR
1 participant
0