Create phpstan baseline

Created on 18 October 2025, 20 days ago

Problem/Motivation

We have plenty of phstan fails.
Fixing them all at once would be risky.

Steps to reproduce

Look at a pipeline for 3.0.x...

Proposed resolution

Generate a phpstan-baseline.neon.

Acceptance criteria:
- The phpstan part of the pipeline should be green.
- Adding a false item into the baseline will cause CI fail. (so we are forced to keep it up to date)

We can fix the reported problems one by one as follow-up, but we don't need to create all the follow-up issues now.

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany donquixote

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Merge request !96Create phpstan baseline → (Open) created by donquixote
  • Pipeline finished with Failed
    14 days ago
    Total: 521s
    #638882
  • Pipeline finished with Failed
    12 days ago
    Total: 211s
    #640032
  • Pipeline finished with Failed
    12 days ago
    Total: 232s
    #640036
  • Pipeline finished with Failed
    12 days ago
    Total: 213s
    #640037
  • Pipeline finished with Failed
    12 days ago
    Total: 200s
    #640055
  • Pipeline finished with Failed
    12 days ago
    Total: 1941s
    #640056
  • Pipeline finished with Failed
    12 days ago
    #640155
  • Pipeline finished with Failed
    12 days ago
    #640154
  • Pipeline finished with Failed
    12 days ago
    #640156
  • Pipeline finished with Failed
    12 days ago
    #640157
  • Pipeline finished with Failed
    12 days ago
    #640158
  • Pipeline finished with Failed
    12 days ago
    #640159
  • Pipeline finished with Failed
    12 days ago
    #640160
  • Pipeline finished with Failed
    12 days ago
    #640161
  • Pipeline finished with Failed
    12 days ago
    #640165
  • Pipeline finished with Failed
    12 days ago
    #640164
  • Pipeline finished with Failed
    12 days ago
    #640166
  • Pipeline finished with Failed
    12 days ago
    #640167
  • Pipeline finished with Failed
    12 days ago
    Total: 289s
    #640169
  • Pipeline finished with Failed
    12 days ago
    Total: 2532s
    #640168
  • Pipeline finished with Failed
    3 days ago
    Total: 351s
    #649483
  • Pipeline finished with Failed
    3 days ago
    Total: 465s
    #649482
Production build 0.71.5 2024