Skip to content
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

Should extra.symfony.require have a dedicated section? #20195

Open
alexislefebvre opened this issue Sep 4, 2024 · 1 comment
Open

Should extra.symfony.require have a dedicated section? #20195

alexislefebvre opened this issue Sep 4, 2024 · 1 comment
Labels
hasPR A Pull Request has already been submitted for this issue.

Comments

@alexislefebvre
Copy link
Contributor

alexislefebvre commented Sep 4, 2024

extra.symfony.require is useful to lock dependencies to a LTS release, like 6.4.*:

Yet it's mentioned only once in the doc about the bundles: https://symfony.com/doc/current/bundles/best_practices.html#require-a-specific-symfony-version


Is this feature still actively supported? Update: this parameter is added when running symfony new my_project_directory --version=lts so it looks like this feature is still supported.

Is it worth opening a PR to explain how to use it?

@MrYamous
Copy link
Contributor

MrYamous commented Sep 5, 2024

I'd never heard of it before but I think that if it has found its place on SymfonyCasts it can also have a place in the documentation.

Thanks for this discovery, in future it will save me from doing inconvenient things in the require section of the composer.json file.

@OskarStark OskarStark changed the title Should “extra.symfony.require” have a dedicated section? Should extra.symfony.require have a dedicated section? Sep 5, 2024
@xabbuh xabbuh added the hasPR A Pull Request has already been submitted for this issue. label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hasPR A Pull Request has already been submitted for this issue.
Projects
None yet
Development

No branches or pull requests

3 participants