Fix PHPStan L1 error "Variable $foo in/on something() is never defined."

Created on 4 October 2023, about 1 year ago
Updated 16 October 2023, about 1 year ago

Problem/Motivation

Amongst the errors when running PHPStan on level 1 is: Variable $foo in/on something() is never defined.

This issue exists to fix all of those and remove them from the suppressions in the current baseline core/phpstan-baseline.neon.

Steps to reproduce

- Find six of them in being suppressed in the current baseline core/phpstan-baseline.neon.

Proposed resolution

- Solve all of the the above mentioned reported errors.
- Remove them from the baseline.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

10.2 ✨

Component
OtherΒ  β†’

Last updated about 1 hour 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