Page MenuHomeDevCentral

Modernize code to PHP 8.1 standard
ClosedPublic

Authored by dereckson on Apr 9 2022, 07:50.
Tags
None
Referenced Files
F3800338: D2653.diff
Fri, Nov 29, 01:34
Unknown Object (File)
Wed, Nov 27, 19:34
Unknown Object (File)
Wed, Nov 20, 10:56
Unknown Object (File)
Tue, Nov 19, 02:02
Unknown Object (File)
Mon, Nov 18, 22:15
Unknown Object (File)
Mon, Nov 18, 21:57
Unknown Object (File)
Tue, Nov 12, 06:53
Unknown Object (File)
Mon, Nov 11, 23:06
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