[META] Fix strict type errors detected by phpstan

Created on 26 November 2023, about 1 year ago
Updated 17 September 2024, 3 months ago

Problem/Motivation

Before we can add declare(strict_types=1) to existing code we need to fix strict type errors. We can detect some of these with phpstan, via the FunctionCallParametersCheck rule.

Steps to reproduce

To activate the FunctionCallParametersCheck rule we can add the following parameter to phpstan.neon.dist:

parameters:
  checkFunctionArgumentTypes: true

Proposed resolution

Review detected errors and fix them in child issues.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Other 

Last updated 2 days ago

Created by

🇦🇺Australia mstrelan

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