PHPCS is run even when it cannot check any files

Created on 20 March 2025, 15 days ago

Problem/Motivation

The PHPCS job is added to the pipeline and runs even when there are no files for it to check.

Here is an example where there a no .php files or any other file extensions that PHPCS can check. Running with _PHPCS_EXTRA: -v shows 0 files checked.

Maybe there is a mismatch between the job rules and the list of php files we derive? It is odd to have the job running when it cannot do anything.

Proposed resolution

Feature request
Status

Active

Component

gitlab-ci

Created by

🇬🇧United Kingdom jonathan1055

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

Comments & Activities

Production build 0.71.5 2024