Page MenuHomeDevCentral

Modernize code to PHP 8.1 standard
ClosedPublic

Authored by dereckson on Apr 9 2022, 07:50.
Tags
None
Referenced Files
F11039170: D2653.diff
Sun, Aug 10, 14:45
Unknown Object (File)
Sat, Aug 9, 10:26
Unknown Object (File)
Thu, Aug 7, 09:13
Unknown Object (File)
Wed, Aug 6, 17:24
Unknown Object (File)
Wed, Aug 6, 16:35
Unknown Object (File)
Wed, Aug 6, 16:30
Unknown Object (File)
Wed, Aug 6, 16:20
Unknown Object (File)
Wed, Aug 6, 15:02
Subscribers
None

Details

Summary

Don't use enum to avoid constructions like ExitCode::SUCCESS->value.

Test Plan

Run tests and phan

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Passed
Unit
Test Failures
Branch
modernize-commands-php81
Build Status
Buildable 4160
Build 4412: arc lint + arc unit

Unit TestsBroken

TimeTest
0 msKeruald\Commands\Tests\CommandTest
Keruald\Commands\Tests\CommandTest::testGetArgc Error: Class "Keruald\Commands\Display\ArrayDisplay" not found
0 msKeruald\Commands\Tests\Display\ArrayDisplayTest
Keruald\Commands\Tests\Display\ArrayDisplayTest::testOut Error: Class "Keruald\Commands\Display\ArrayDisplay" not found