Review main Merged

78222[TASK] Static data providers in Tests/Unit

Christian Kuhn CR +2 V +2 Expert +674 −674 updated 03/23/23, 10:50

Commit message

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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 2

Files 265

Show 245 more files