We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I wonder where the new allow-plugins composer.json section could be sorted alphabetically?
allow-plugins
The text was updated successfully, but these errors were encountered:
@simPod
I have disabled the sorting in ergebnis/json-normalizer#590 because I believe this could break the configuration for people doing something like this:
{ "config": { "allow-plugins": { "my-organization/foo": false, "my-organization/*": true } } }
When config.allow-plugins would be automatically sorted to
config.allow-plugins
{ "config": { "allow-plugins": { "my-organization/*": true, "my-organization/foo": false } } }
then my-organization/foo would be allowed, while it was actually configured with the intention to be disallowed.
my-organization/foo
For reference, see https://github.com/composer/composer/blob/2.2.3/src/Composer/Plugin/PluginManager.php#L696-L700.
What do you think?
Sorry, something went wrong.
I see, did not come up with such use-case. I guess that makes sense then. Thanks!
Thank you, @simPod!
ergebnis/json-normalizer
preferred-install
localheinz
Successfully merging a pull request may close this issue.
I wonder where the new
allow-plugins
composer.json section could be sorted alphabetically?The text was updated successfully, but these errors were encountered: