Make all tests declare strict_types

Created on 10 January 2025, 3 months ago

Problem/Motivation

Some of our tests declare(strict_types=1);, and some don't.

Drupal Core already requires that All tests must declare the use of strict types : we should probably do that too.

Proposed resolution

Add declare(strict_types=1); to existing tests that don't have them. Fix any issues that show up.

Remaining tasks

  1. Write a patch
  2. Review and feedback
  3. RTBC and feedback
  4. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

Feature request
Status

Active

Version

8.0

Component

Code

Created by

🇨🇦Canada mparker17 UTC-4

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