Skip to content

Broken dependencies - \React\Socket\Server::__construct needs two arguments #13

@nepda

Description

@nepda

If you install the voryx/wamppost package in version 0.1.5 (composer.json like below)

You will get an error because the usage of \React\Socket\Server::__construct has changed. But your code does'nt:

src/WampPost/WampPost.php:32:

        $this->socket = new Server($loop);

But the signature of the class looks like this:

    public function __construct($uri, LoopInterface $loop, array $context = array())

composer.json:

{
    "name": "nepda/wamp-post-example",
    "type": "project",
    "require": {
        "voryx/wamppost": "^0.1.5"
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions