+
Skip to content

Conversation

greg0ire
Copy link
Member

@greg0ire greg0ire commented Oct 12, 2025

Unless we specify the working directory, composer will install
dependencies for the project in the root directory.
We want developers to be able to able to generate docs as well. This
means the docs directory should already contain a composer.json for them
to use.
@greg0ire greg0ire requested a review from paulinevos October 12, 2025 16:07
@greg0ire
Copy link
Member Author

To be tagged as a major release, since now it requires the composer.json to be already present.

@paulinevos
Copy link
Contributor

Might also be friendly to print a warning if it fails because it's not present?

@greg0ire
Copy link
Member Author

I think the ramsay/composer-install job will do exactly that, but let me check.

@greg0ire
Copy link
Member Author

There you go, we get a nice error: https://github.com/doctrine/collections/actions/runs/18463790981/job/52600984006?pr=476#step:4:40

@greg0ire greg0ire merged commit 4671c81 into doctrine:main Oct 13, 2025
@greg0ire greg0ire deleted the remove-require branch October 13, 2025 11:16
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.

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载