Fix PHPstan up to level 8

Created on 25 June 2024, 5 months ago
Updated 9 July 2024, 5 months ago

Problem/Motivation

PHPstan still reports some avoidable warnings at level 8. A few of them even actually make sense.

Steps to reproduce

Run phpstan analyse -l 8 -c web/modules/contrib/g2/phpstan.neon web/modules/contrib.g2

Proposed resolution

Fix them.

Remaining tasks

Do it.

User interface changes

None.

API changes

None.

Data model changes

None.

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France fgm Paris, France

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