Make Drupal\Core\Database\Database type strict and PHPStan L10 compliant

Created on 28 June 2025, 16 days ago

Problem/Motivation

Drupal\Core\Database\Database is @final so maybe we can take a stab at making it type-strict.

Proposed resolution

Add declare(strict_types=1); and document types so that the class can be PHPStan L10 compliant.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

database system

Created by

🇮🇹Italy mondrake 🇮🇹

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