Add strict type to test module

Created on 29 January 2024, 10 months ago
Updated 20 May 2024, 6 months ago

Problem/Motivation

Per https://www.drupal.org/project/drupal/releases/10.2.0

Drupal core automated tests and test APIs are being converted to require strict typing in all cases. So far, Drupal core test traits, build tests, and functional JavaScript tests all require strict typing. Going forward, all Drupal core tests will require strict typing. It is recommended that contributed and custom projects use the Drupal standard for strict type declaration.

Proposed resolution

Add strict type to test files and run the test. Fix any encountered issues.

📌 Task
Status

Fixed

Version

2.0

Component

Other Code

Created by

🇮🇳India sumit-k

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