Project

General

Profile

Actions

Task #104007

closed

Add `phpunit 11.2.0` as conflict version due to regression

Added by Stefan Bürk 6 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Tests
Target version:
-
Start date:
2024-06-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

PHPUnit refactored the double creation to suport doubling
readonly classes [1], thus breaking classes where the class
constructor is called with constructor arguments, but calling
itself a class method which is mocked using the `onlyMethods()`
setup option. This leads now to some internal state setup issue
and is reported as `regression` [2] providing steps to reproduce
it.

[1] https://github.com/sebastianbergmann/phpunit/pull/5804
[2] https://github.com/sebastianbergmann/phpunit/issues/5857

Actions

Also available in: Atom PDF