Skip to content

chore(deps): update dependency php-ds/php-ds to v2#80

Merged
renovate[bot] merged 1 commit into0.2.xfrom
renovate/php-ds-php-ds-2.x
Apr 12, 2026
Merged

chore(deps): update dependency php-ds/php-ds to v2#80
renovate[bot] merged 1 commit into0.2.xfrom
renovate/php-ds-php-ds-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Apr 12, 2026

This PR contains the following updates:

Package Change Age Confidence
php-ds/php-ds ^1.4^2.0 age confidence

Release Notes

php-ds/polyfill (php-ds/php-ds)

v2.0.0

Compare Source

Added
  • Ds\Seq as the unified sequence type, replacing Ds\Vector and Ds\Deque.
  • Ds\Heap with configurable comparator: __construct(iterable $values = [], ?callable $comparator = null), max-heap by default.
  • Ds\Key interface for custom key equality (hash(): mixed, equals(mixed $other): bool), replacing Ds\Hashable.
  • Ds\Pair is now a readonly class.
  • Functional constructors: \Ds\seq(), \Ds\map(), \Ds\set(), \Ds\heap().
Changed
  • Requires PHP >= 8.2.
  • Provides ext-ds 2.0.0.
  • Map::values() now returns Seq (was Vector).
  • Map::pairs() now returns Seq (was Vector).
  • Seq::find() now returns int|false (was ?int).
Removed
  • Ds\Vector, Ds\Deque, Ds\Stack, Ds\Queue, Ds\PriorityQueue classes.
  • Ds\Hashable, Ds\Collection, Ds\Sequence interfaces.
  • Pair::copy() method.
  • Traits/GenericSequence.php (replaced by Seq directly).

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.63%. Comparing base (58eb95a) to head (afcba41).

Additional details and impacted files
@@           Coverage Diff           @@
##            0.2.x      #80   +/-   ##
=======================================
  Coverage   83.63%   83.63%           
=======================================
  Files           6        6           
  Lines          55       55           
=======================================
  Hits           46       46           
  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.

@renovate renovate bot merged commit 64dc772 into 0.2.x Apr 12, 2026
10 checks passed
@renovate renovate bot deleted the renovate/php-ds-php-ds-2.x branch April 12, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant