Page MenuHomeDevCentral

Upgrade to PHPUnit 10
ClosedPublic

Authored by dereckson on Jul 2 2023, 17:13.
Tags
None
Referenced Files
F9923207: D3219.id8250.diff
Mon, Jun 16, 07:44
F9875908: D3219.diff
Sun, Jun 15, 14:46
Unknown Object (File)
Mon, Jun 9, 15:55
Unknown Object (File)
Fri, Jun 6, 00:17
Unknown Object (File)
Wed, Jun 4, 17:23
Unknown Object (File)
Tue, Jun 3, 04:15
Unknown Object (File)
Sat, May 31, 09:02
Unknown Object (File)
Thu, May 29, 06:16
Subscribers
None

Details

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

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Errors
SeverityLocationCodeMessage
Erroromnitools/tests/HTTP/Requests/RequestTest.php:125PHPCS.E.Generic.Files.LineLength.MaxExceededGeneric.Files.LineLength.MaxExceeded
Erroromnitools/tests/Identifiers/UUIDTest.php:65PHPCS.E.Generic.Files.LineLength.MaxExceededGeneric.Files.LineLength.MaxExceeded
Warningomnitools/tests/IO/FileTest.php:75PHPCS.W.Generic.Files.LineLength.TooLongGeneric.Files.LineLength.TooLong
Unit
Test Failures
Branch
phpunit10
Build Status
Buildable 5074
Build 5355: arc lint + arc unit

Event Timeline

dereckson created this revision.

Ensure PHPUnit\ has the correct case

This revision was not accepted when it landed; it landed in state Needs Review.Jul 2 2023, 17:27
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.