Optimize the PHPStan configuration

Created on 4 June 2025, 9 days ago

Problem/Motivation

PHPStan is configured in a way that making small changes to the code instantly yields dozens of warnings, which then have to be added manually to the huge (1000+ lines) list of ignored warnings in phpstan-baseline.neon.

This is counterproductive and prevents developers from contributing.

Proposed resolution

  • Adopt a more sensible PHPStan configuration.
  • Fix all warnings that are fixable instead of ignoring them.
📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇧🇬Bulgaria pfrenssen Sofia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024