Page MenuHomeDevCentral

Allow to create empty OmniArray
ClosedPublic

Authored by dereckson on Jan 26 2022, 20:49.
Tags
None
Referenced Files
F3943877: D2491.id6277.diff
Wed, Dec 25, 13:12
F3943870: D2491.id6278.diff
Wed, Dec 25, 13:10
F3943861: D2491.id6276.diff
Wed, Dec 25, 13:04
F3942840: D2491.diff
Wed, Dec 25, 01:10
Unknown Object (File)
Fri, Dec 20, 05:01
Unknown Object (File)
Thu, Dec 19, 02:43
Unknown Object (File)
Thu, Dec 19, 02:21
Unknown Object (File)
Mon, Dec 16, 18:51
Subscribers
None

Details

Summary

This fixes the following issue:

ArgumentCountError : Too few arguments to function
Keruald\OmniTools\Collections\OmniArray::__construct(), 0 passed in
.../keruald/omnitools/src/Strings/Multibyte/OmniString.php on line 98
and exactly 1 expected
Test Plan

New test for OmniString::explode, which does trigger this code path.

Diff Detail

Repository
rKOT Keruald OmniTools
Lint
Lint Skipped
Unit
Tests Skipped
Branch
main
Build Status
Buildable 3880
Build 4131: arc lint + arc unit

Event Timeline

dereckson created this revision.

Move test plan to actual unit test

dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Jan 26 2022, 20:56
dereckson edited the summary of this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.