Remove phpstan ignore for "#^Missing cache backend declaration for performance.#"

Created on 26 July 2023, over 1 year ago
Updated 13 November 2023, about 1 year ago

Problem/Motivation

With the release of mglaman/phpstan-drupal 1.1.37 (https://github.com/mglaman/phpstan-drupal/releases/tag/1.1.37) the false positives on "Missing cache backend declaration for performance." should be gone. (https://github.com/mglaman/phpstan-drupal/pull/592)

Let's bump mglaman/phpstan-drupal to 1.1.37, remove the ignore from core/phpstan.neon.dist and see where we stand.

If the false-positives are indeed gone, we can fix all valid remaining fails on this one in this issue.

Steps to reproduce

Proposed resolution

- Bump mglaman/phpstan-drupal to 1.1.37
- Remove "Missing cache backend declaration for performance." from core/phpstan.neon.dist
- Evaluate/fix any remaining failures from that (now un-ignored) rule.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

10.2 ✨

Component
BaseΒ  β†’

Last updated about 3 hours ago

Created by

πŸ‡³πŸ‡±Netherlands spokje

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

Comments & Activities

Production build 0.71.5 2024