8000 Handle dump-autoload where vendor folder is not installed or not complete by PrinsFrank · Pull Request #12139 · composer/composer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Handle dump-autoload where vendor folder is not installed or not complete #12139

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 2 commits into from
Oct 2, 2024

Conversation

PrinsFrank
Copy link
Contributor

Currently, there is no error when the vendor folder is not complete or when there are no dependencies installed at all when running composer dump-autoload. This PR fixes that, and this results in an exit code 1 when one or more dependencies are not installed.

@PrinsFrank PrinsFrank force-pushed the handle-missing-package-folder branch from a655806 to fd5c0ea Compare September 30, 2024 21:37
@PrinsFrank PrinsFrank changed the title Handle dump-autoload where vendor folder is not installed or not comp… Handle dump-autoload where vendor folder is not installed or not complete Sep 30, 2024
@PrinsFrank PrinsFrank marked this pull request as draft September 30, 2024 21:39
The package could theoretically be a single file not a directory
@Seldaek Seldaek marked this pull request as ready for review October 2, 2024 10:26
@Seldaek Seldaek added this to the 2.8 milestone Oct 2, 2024
@Seldaek Seldaek added the Feature label Oct 2, 2024
@Seldaek Seldaek merged commit edb1588 into composer:main Oct 2, 2024
19 of 20 checks passed
@Seldaek
Copy link
Member
Seldaek commented Oct 2, 2024

Thanks

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

Successfully merging this pull request may close these issues.

2 participants
0