HomeDevCentral

Upgrade to PHPUnit 10

Description

Upgrade to PHPUnit 10

Summary:
Migrate PHPUnit configuration schema to 10.3, require 10.2.
Require the same version everywhere. Don't require minor.

Use attributes for data providers and backup globals.

Ensure data providers methods are static.

This upgrade has been assisted by Rector, see P342.

Test Plan: phpunit

Reviewers: dereckson

Differential Revision: https://devcentral.nasqueron.org/D3219

Details

Provenance
derecksonAuthored on Jul 2 2023, 16:51
derecksonPushed on Jul 2 2023, 18:53
derecksonPushed on Jul 2 2023, 18:52
Differential Revision
D3219: Upgrade to PHPUnit 10
Parents
rKCMDbaf6e15c21a8: Modernize code to PHP 8.1 standard
Branches
Unknown
Tags
Unknown
References
HEAD -> main