PHPStan baseline removed before generating a new one from test results

Created on 3 April 2025, 1 day ago

Problem/Motivation

At Migrate Magician, I need to customize PHPStan checks to exclude a certain file (a plugin which extends a migrate plugin of Color module which not yet has a 11-compatible release). I did this by a phpstan-baseline.neon file, added to the root of the project.

Unfortunately, since December 21, my weekly tests are failing, because since then, the pipeline removes the baseline file before it tries to generate a new one (but I guess the reference to this file in phpstan.neon is kept) – making the check to fail: https://git.drupalcode.org/project/migmag/-/jobs/4863776#L57

see https://git.drupalcode.org/project/migmag/-/jobs/4863776

I tried to use a customized baseline file name, got the same result.

Steps to reproduce

Probably it is enough to have a baseline file in the repository.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Component

gitlab-ci

Created by

πŸ‡­πŸ‡ΊHungary huzooka Hungary πŸ‡­πŸ‡ΊπŸ‡ͺπŸ‡Ί

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

Comments & Activities

Production build 0.71.5 2024