Remove need for VersionPolicyValidator to know about specific core packages

Created on 6 April 2023, over 1 year ago
Updated 24 April 2023, over 1 year ago

Problem/Motivation

Follow-up to 📌 VersionPolicyValidator should use ComposerInspector instead of ComposerUtility Fixed , see comment 📌 VersionPolicyValidator should use ComposerInspector instead of ComposerUtility Fixed , Originally the idea was to add isDev property to Package objects but I think it is actually simpler to incapsulate that logic into \Drupal\package_manager\InstalledPackagesList::getCorePackages

Proposed resolution

Add a boolean $include_dev = TRUE parameter to \Drupal\package_manager\InstalledPackagesList::getCorePackages() then update \Drupal\automatic_updates\Validator\VersionPolicyValidator::getCorePackageName() to send it as false.

📌 Task
Status

Fixed

Version

3.0

Component

Package Manager

Created by

🇺🇸United States tedbow Ithaca, NY, USA

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

Comments & Activities

Production build 0.71.5 2024