Remove drupal/core requirement from composer.json

Created on 22 June 2024, 3 months ago
Updated 9 July 2024, 3 months ago

Problem/Motivation

From https://www.drupal.org/docs/develop/using-composer/add-a-composerjson-fi... β†’

If your project does have a composer.json file, having a drupal/core version requirement is also not required for Drupal 9 compatibility. It is better not to provide a drupal/core version requirement in composer.json because Drupal's composer facade will generate the appropriate metadata based on the info.yml file.

And speaking as a site maintainer, modules that include core as a dependency can be a little troublesome if you have to do something weird while updating dependencies.

Proposed resolution

Delete the requirement.

Remaining tasks

Delete the requirement.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dcam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024