Declare strict types

Created on 22 April 2024, 12 months ago

Problem/Motivation

Use of strict types can make it easier to catch certain bugs.

However, strict types currently can't simply be enabled because of warnings like this in JsonUtility.php:

Expected parameter of type 'string', 'Drupal\Core\StringTranslation\TranslatableMarkup' provided

Proposed resolution

Gradually add more types to functions and clean up the code; then enable strict types.

📌 Task
Status

Postponed

Version

1.0

Component

Code

Created by

🇯🇵Japan ptmkenny

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