Skip to content

Commit

Permalink
Fix: Do not sort allow-plugins configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 29, 2021
1 parent 0587e9d commit dd0d18a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ For a full diff see [`1.0.3...main`][1.0.3...main].
### Fixed

- Updated `justinrainbow/json-schema` ([#517]), by [@dependabot]
- Stopped sorting the newly added `allow-plugins` configuration ([#590]), by [@dependabot]

## [`1.0.3`][1.0.3]

Expand Down Expand Up @@ -425,6 +426,7 @@ For a full diff see [`5d8b3e2...0.1.0`][5d8b3e2...0.1.0].
[#564]: https://github.com/ergebnis/json-normalizer/pull/564
[#573]: https://github.com/ergebnis/json-normalizer/pull/573
[#589]: https://github.com/ergebnis/json-normalizer/pull/589
[#590]: https://github.com/ergebnis/json-normalizer/pull/590

[@BackEndTea]: https://github.com/BackEndTea
[@dependabot]: https://github.com/dependabot
Expand Down
2 changes: 2 additions & 0 deletions src/Vendor/Composer/ConfigHashNormalizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ final class ConfigHashNormalizer implements NormalizerInterface
];

/**
* @see https://getcomposer.org/doc/06-config.md#allow-plugins
* @see https://getcomposer.org/doc/06-config.md#preferred-install
*/
private const PROPERTY_PATHS_THAT_SHOULD_NOT_BE_SORTED = [
'config.allow-plugins',
'config.preferred-install',
];

Expand Down

0 comments on commit dd0d18a

Please sign in to comment.