Fix PHPStan for @dataProvider related method not found

Created on 20 January 2025, about 2 months ago

Problem/Motivation

At "next minor" PHPStan we get 29 ocurrences of the new message

@dataProvider dataStandardEntityTypes() related method not found

See https://git.drupalcode.org/project/scheduler/-/jobs/4067974

Proposed resolution

As dataStandardEntityTypes is a generic data provider used in 25 different test files, it is not practical and not worth the effort to create individually named data provider functions for each of those tests. Therefore these can be added to the baseline of messages that are acceptable to be ignored.

📌 Task
Status

Active

Version

2.0

Component

Coding Standards

Created by

🇬🇧United Kingdom jonathan1055

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024