Problem/Motivation

Some testing classes has usage of undefined properties which are not fixed in #3309745: Fix dynamic property deprecations and other unit test failures for PHP 8.2 because this properties should be defined on test classes and can't be caught by phpstan

This is complimentary for #3309748: Define missing object properties on non-testing classes for PHP 8.2

Steps to reproduce

See #3295821-91: Ignore: patch testing issue for PHP 8.2 attributes

Proposed resolution

Define missing properties

Remaining tasks

- collect all changes from testing issue #3295821-91: Ignore: patch testing issue for PHP 8.2 attributes
- make sure tests pass on PHP 8.2
- review/commit

User interface changes

no

API changes

no

Data model changes

no

Release notes snippet

no

Comments

andypost created an issue. See original summary.

andypost’s picture

Title: Define missing object properties for PHP 8.2 » Modernize tests to pass on PHP 8.2
Issue summary: View changes
Related issues: +#3309748: Define missing object properties on non-testing classes for PHP 8.2

re-title and update IS

berdir’s picture

I think I don't understand the difference yet between those two issues, but lets fix all the mock related errors and then we'll see what's left exactly.

andypost’s picture

Status: Active » Closed (duplicate)