Skip to content

PHP 8.2 deprecationΒ #35

@bartvanhoutte

Description

@bartvanhoutte

πŸ‘‹ Just discovered a deprecation using mq-react running on PHP 8.2.

Creation of dynamic property React\Promise\Deferred::$pending is deprecated in /var/www/vendor/clue/mq-react/src/Queue.php on line 432

Couple of ways to solve this:

  1. Add #[AllowDynamicProperties] in reactphp/promise v2 branch. Fast but might not be what we want.
  2. Add some sort of deferred/promise index in Queue. Quite a bit of work but clean.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions