Skip to content

PHP 8.4#225

Merged
davidwdan merged 9 commits intoReactiveX:masterfrom
makomweb:php84
Oct 27, 2025
Merged

PHP 8.4#225
davidwdan merged 9 commits intoReactiveX:masterfrom
makomweb:php84

Conversation

@makomweb
Copy link
Copy Markdown
Contributor

  • uses Rector to bring the code base up to being PHP 8.4 compliant
  • fixes a bug with an optional default scheduler being null

@bartvanhoutte
Copy link
Copy Markdown
Contributor

Can you double check the following please?

PHP Deprecated: Return type of Rx\Scheduler\InternalPriorityQueue::insert($item, $priority) should either be compatible with SplPriorityQueue::insert(mixed $value, mixed $priority): true, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

@makomweb
Copy link
Copy Markdown
Contributor Author

@bartvanhoutte What do I have to do in order to see this deprecation message?

@daifma
Copy link
Copy Markdown

daifma commented Oct 10, 2025

What is the status of this PR ? do you need a help ?

@makomweb
Copy link
Copy Markdown
Contributor Author

@daifma Yes, I have no idea what is missing to get this merged. All kinds of advice would be awesome.

@mbonneau mbonneau self-requested a review October 27, 2025 19:22
@mbonneau mbonneau self-assigned this Oct 27, 2025
}

public function setDisposable(DisposableInterface $disposable = null)
public function setDisposable(?DisposableInterface $disposable = null)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nullable parameter type is not supported in 7.0.0 - we should bump the composer.json php version up to 7.1 or higher.

@davidwdan davidwdan merged commit 7b406c0 into ReactiveX:master Oct 27, 2025
8 checks passed
@makomweb makomweb deleted the php84 branch October 28, 2025 12:43
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.

5 participants