Fix PHPstan up to level 8

Created on 25 June 2024, 5 days 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.69.0 2024