Closed ghostwriter closed 2 years ago
@ghostwriter
Normalize composer.json
Can you tell me on what basis this was done? Thanks!
@froschdesign (QA) To help us keep our composer.json
nice and tidy, so we do not have to worry about it's structure and or formatting.
composer.json
according to the underlying JSON schema. bin
section (by value)config
, extra
, and scripts-descriptions
sections (by key)conflict
, provide
, replace
, require
, require-dev
, and suggest
sections (as you are used to from the sort-packages configuration)conflict
, provide
, replace
, require
, and require-dev
sections@ghostwriter I know the idea behind the normalization and also the Composer plugin but I don't know that we use this everywhere. So I assume it's a suggestion from you.
@froschdesign Yes, that is correct. (hopefully a RFC wasn’t required)
composer.json
fileQA Checks
@ghostwriter
hopefully a RFC wasn’t required
The problem is that inconsistencies arise between the repositories which can be result in more work or other problems. And with more than 180 repositories in 3 different GitHub organizations, nobody needs that.
- Would like to see it added to the
QA Checks
Please open an issue report at https://github.com/laminas/laminas-continuous-integration-action Thanks in advance! 👍
@froschdesign That is not a problem at all.
I will take care of the PRs for all 3 orgs and send a PR to laminas/laminas-continuous-integration-action
adding ergebnis/composer-normalize
to the QA/CI process.
It can, and will, be consistent going forward.
@froschdesign Reverted the last 2 commits in favor of #17
Description
Fixes #10