Page MenuHomeDevCentral

Upgrade to PHPUnit 10
ClosedPublic

Authored by dereckson on Jul 2 2023, 17:13.
Tags
None
Referenced Files
F3767360: D3219.diff
Fri, Nov 22, 23:45
Unknown Object (File)
Wed, Nov 20, 13:58
Unknown Object (File)
Wed, Nov 20, 13:42
Unknown Object (File)
Sun, Nov 17, 22:20
Unknown Object (File)
Sun, Nov 17, 20:05
Unknown Object (File)
Sat, Nov 16, 16:09
Unknown Object (File)
Sat, Nov 16, 10:57
Unknown Object (File)
Sat, Nov 16, 10:34
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.