Skip to content
Snippets Groups Projects
Commit 4543e9be authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[TASK] Avoid phpunit static TestCase->never() and once()

The methods are no longer static in phpunit 11 and
should not be used in data providers. We split a data
provider to deal with this.

The final switch to not call these statically will
be done when phpunit is raised, since it otherwise
collides with cgl checks and current phpunit 10.

Resolves: #103216
Releases: main
Change-Id: I90c787d1c8b68e0bf02be0e4f056ef6ebb8ca9ef
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83148


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 4ed56864
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment