Skip to content

Add mappedMapsFromIterable function#77

Merged
simPod merged 1 commit into0.2.xfrom
mappedmaps
Mar 8, 2026
Merged

Add mappedMapsFromIterable function#77
simPod merged 1 commit into0.2.xfrom
mappedmaps

Conversation

@simPod
Copy link
Copy Markdown
Collaborator

@simPod simPod commented Mar 8, 2026

Summary

  • Add mappedMapsFromIterable() that groups iterable into Map<K, Map<KInner, V>>, analogous to existing mappedSetsFromIterable and mappedQueuesFromIterable
  • Add test covering grouping and inner key/value mapping

Test plan

  • vendor/bin/phpunit tests/DsTest.php — 7 tests, 25 assertions pass
  • vendor/bin/phpstan — no errors
  • vendor/bin/phpcs — no violations

🤖 Generated with Claude Code

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.63%. Comparing base (7daddbe) to head (bd36296).
⚠️ Report is 1 commits behind head on 0.2.x.

Additional details and impacted files
@@            Coverage Diff             @@
##            0.2.x      #77      +/-   ##
==========================================
+ Coverage   80.43%   83.63%   +3.20%     
==========================================
  Files           6        6              
  Lines          46       55       +9     
==========================================
+ Hits           37       46       +9     
  Misses          9        9              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@simPod simPod merged commit 4cde287 into 0.2.x Mar 8, 2026
9 checks passed
@simPod simPod deleted the mappedmaps branch March 8, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants