Skip to content

use enumeration options when enumerating the inner stream in BufferedRankedStream - #48

Merged
lucila merged 1 commit into
mainfrom
lucila/pass-enumerate-options-to-inner-stream
Oct 14, 2026
Merged

lucila merged 1 commit into
mainfrom
lucila/pass-enumerate-options-to-inner-stream

Conversation

@lucila

@lucila lucila commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

What and why? 🤔

Enumeration options should be passed to the inner streams.

BufferedRankedStream was not passing $option when calling $this->inner->enumerate()
All the other streams that contain inner streams already do this.

Also, FilteredStream was using and instead of &&

Testing Steps ✍️

Code review

You're it! 👑

Tag a random reviewer by adding @Automattic/stream-builders to the reviewers section, but mention them here for visibility as well.

@lucila
lucila requested a review from a team as a code owner October 14, 2026 17:23
@lucila
lucila requested review from koke and lengare October 14, 2026 17:23
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 80.255% (-0.02%) from 80.271% — lucila/pass-enumerate-options-to-inner-stream into main

@blowery blowery left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lucila
lucila merged commit ce4ae7c into main Oct 14, 2026
11 checks passed
@lucila
lucila deleted the lucila/pass-enumerate-options-to-inner-stream branch October 14, 2026 17:57
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.

3 participants