Review main Merged

70288[TASK] Avoid root-only fields in extensions composer.json

Christian Kuhn CR +2 V +2 Normal +0 −209 updated 08/10/21, 06:26

Commit message

composer.json fields marked as root-only in
https://getcomposer.org/doc/04-schema.md are only
used if the composer.json is used as project root.

Core extensions and split repositories are never used
as project root directly and also won't work as such.
Testing is always performed on the monorepo.

All root-only fields are thus obsolete in extensions
composer.json, namely: require-dev, autoload-dev,
minimum-stability, prefer-stable, repositories,
config, scripts.

sortpackages: true in config field is kept since
this is useful when updating packages using
componer req something -d typo3/sysext/core_ext

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 32