Page MenuHomeDevCentral

Remove features implemented in PHP 8
ClosedPublic

Authored by dereckson on Wed, Nov 5, 22:21.
Tags
None
Referenced Files
F12589989: D3848.diff
Tue, Nov 11, 17:39
F12585255: D3848.diff
Tue, Nov 11, 14:28
F12574953: D3848.id.diff
Tue, Nov 11, 06:32
F12558826: D3848.diff
Mon, Nov 10, 19:22
Unknown Object (File)
Mon, Nov 10, 11:11
Unknown Object (File)
Mon, Nov 10, 10:58
Unknown Object (File)
Mon, Nov 10, 10:57
Unknown Object (File)
Mon, Nov 10, 03:33
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