Page MenuHomeDevCentral

Modernize code to PHP 8.1 standard
ClosedPublic

Authored by dereckson on Apr 9 2022, 07:50.
Tags
None
Referenced Files
F6886138: D2653.id6706.diff
Wed, Apr 16, 11:49
F6885445: D2653.id6707.diff
Wed, Apr 16, 11:27
F6879851: D2653.diff
Wed, Apr 16, 07:19
F6878924: D2653.id6706.diff
Wed, Apr 16, 06:31
F6861030: D2653.id.diff
Tue, Apr 15, 19:05
Unknown Object (File)
Tue, Apr 15, 09:32
Unknown Object (File)
Tue, Apr 15, 06:44
Unknown Object (File)
Mon, Apr 14, 08:17
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