Skip to content
Snippets Groups Projects
Commit 1290a1db authored by Christian Kuhn's avatar Christian Kuhn Committed by Stefan Bürk
Browse files

[TASK] Static data providers in Tests/Unit

phpunit ^10 expects test data providers to be static.

Using rector rule StaticDataProviderClassMethodRector,
this bulk change adapts most of them in
typo3/sysext/*/Tests/Unit.

A couple of data providers use $this, those are left
out for now and need to be adapted with dedicated
patches since they need more refactoring.

Resolves: #100264
Related: #100249
Releases: main
Change-Id: I89243d5467cadfde04efe61f24e2ce568e828c6f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78222


Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
parent cfafb46f
Branches
Tags
Showing
with 31 additions and 31 deletions
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