Page MenuHomeDevCentral

Upgrade to PHPUnit 10
ClosedPublic

Authored by dereckson on Jul 2 2023, 17:13.
Tags
None
Referenced Files
F3313095: D3219.diff
Fri, Jul 5, 17:04
Unknown Object (File)
Wed, Jul 3, 13:23
Unknown Object (File)
Tue, Jul 2, 23:31
Unknown Object (File)
Fri, Jun 28, 15:53
Unknown Object (File)
Mon, Jun 24, 08:06
Unknown Object (File)
Mon, Jun 24, 01:49
Unknown Object (File)
Sun, Jun 23, 21:16
Unknown Object (File)
Fri, Jun 21, 07:41
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
Tests Passed
Branch
phpunit10
Build Status
Buildable 5075
Build 5356: 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.