Page MenuHomeDevCentral

Upgrade to PHPUnit 10
ClosedPublic

Authored by dereckson on Jul 2 2023, 17:13.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 23, 17:10
Unknown Object (File)
Sat, Nov 23, 03:38
Unknown Object (File)
Sat, Nov 23, 03:32
Unknown Object (File)
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
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.