Skip to content

Conversation

@sukhwinder33445
Copy link
Contributor

@sukhwinder33445 sukhwinder33445 commented Dec 1, 2025

Changes made:

PHP 8.5:

No changes are required for PHP 8.4 support.

refs #56

@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Dec 1, 2025
@sukhwinder33445 sukhwinder33445 marked this pull request as draft December 1, 2025 08:01
@sukhwinder33445 sukhwinder33445 changed the title Add php 8.5 support Add php 8.4/8.5 support Dec 1, 2025
@sukhwinder33445 sukhwinder33445 self-assigned this Dec 4, 2025
@sukhwinder33445 sukhwinder33445 marked this pull request as ready for review December 4, 2025 12:26
}

public function run(): ExtendedPromiseInterface
public function run(): PromiseInterface

Choose a reason for hiding this comment

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

Perhaps we should document the changed return types like this one somewhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This change originates from the underlying library react/promise, which merged ExtendedPromiseInterface into PromiseInterface. This change was released in v3.0.0.

I think it should be sufficient to mention this in the release notes? Should I create a release draft, @lippserd?

Copy link
Member

Choose a reason for hiding this comment

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

I think it should be sufficient to mention this in the release notes? Should I create a release draft, @lippserd?

Yes, please!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@sukhwinder33445 sukhwinder33445 force-pushed the support/php-85 branch 3 times, most recently from d4dd640 to 979e1fd Compare December 18, 2025 14:54
@lippserd lippserd changed the title Add php 8.4/8.5 support Support PHP 8.5 Jan 7, 2026
`SplObjectStorage::contains()` => `SplObjectStorage::offsetExists()`
`SplObjectStorage::attach()`   => `SplObjectStorage::offsetSet()`
`SplObjectStorage::detach()`   => `SplObjectStorage::offsetUnset()`

ref: https://www.php.net/manual/en/migration85.deprecated.php#migration85.deprecated.spl
@sukhwinder33445
Copy link
Contributor Author

To make this branch ready for merging, the react/promise upgrade changes have been moved to a separate PR #60

@lippserd lippserd merged commit 652c13c into main Jan 14, 2026
13 checks passed
@lippserd lippserd deleted the support/php-85 branch January 14, 2026 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla/signed CLA is signed by all contributors of a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants