Page MenuHomeDevCentral

Remove features implemented in PHP 8
ClosedPublic

Authored by dereckson on Nov 5 2025, 22:21.
Tags
None
Referenced Files
F34970483: D3848.id9965.diff
Sat, Jul 4, 16:58
F34965593: D3848.id9966.diff
Sat, Jul 4, 08:04
F34965455: D3848.id9968.diff
Sat, Jul 4, 08:03
F34896868: D3848.id.diff
Fri, Jul 3, 17:59
Unknown Object (File)
Thu, Jun 25, 20:28
Unknown Object (File)
Thu, Jun 25, 13:38
Unknown Object (File)
Thu, Jun 25, 13:37
Unknown Object (File)
Wed, Jun 24, 20:57
Subscribers
None

Details

Summary

Several traversable and string functions have been directly added to PHP 8.

In every case, the OmniTools static function call can be swapped as is
to a PHP 8 call, without any change in argument order.

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Errors
SeverityLocationCodeMessage
Erroromnitools/src/Events/Propagation.php:49PHPCS.E.Generic.Files.LineLength.MaxExceededGeneric.Files.LineLength.MaxExceeded
Warningomnitools/src/DataTypes/Option/Some.php:56PHPCS.W.Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassGeneric.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass
Warningomnitools/src/DataTypes/Option/Some.php:60PHPCS.W.Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassGeneric.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass
Warningomnitools/src/DataTypes/Option/Some.php:64PHPCS.W.Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassGeneric.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass
Warningomnitools/src/DataTypes/Option/Some.php:68PHPCS.W.Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassGeneric.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass
Warningomnitools/src/DataTypes/Result/Ok.php:60PHPCS.W.Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassGeneric.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass
Warningomnitools/src/DataTypes/Result/Ok.php:64PHPCS.W.Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassGeneric.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass
Warningomnitools/src/DataTypes/Result/Ok.php:68PHPCS.W.Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassGeneric.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass
Warningomnitools/src/DataTypes/Result/Ok.php:72PHPCS.W.Generic.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClassGeneric.CodeAnalysis.UnusedFunctionParameter.FoundInExtendedClass
Warningomnitools/tests/DataTypes/Result/ErrTest.php:81PHPCS.W.Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsedGeneric.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
Warningomnitools/tests/DataTypes/Result/ErrTest.php:104PHPCS.W.Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsedGeneric.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
Unit
Tests Passed
Branch
php7-cleanup
Build Status
Buildable 6148
Build 6432: arc lint + arc unit