Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

TypeError with php 8.1 #165

Open
webmake opened this issue Mar 10, 2022 · 0 comments · May be fixed by #169
Open

TypeError with php 8.1 #165

webmake opened this issue Mar 10, 2022 · 0 comments · May be fixed by #169

Comments

@webmake
Copy link

webmake commented Mar 10, 2022

Hello,
since php 8.1 some tests are failing with TypeErrors:
image

stream_socket_sendto(): Argument #1 ($socket) must be of type resource, bool given

    public function write($data = null)
    {
        if (isset($this->stream) === false) {
            $this->createStream();
        }

        @stream_socket_sendto($this->stream, $data);

        return true;
    }

"influxdb/influxdb-php": "1.15.2",

@tobias-trozowski tobias-trozowski linked a pull request Jun 21, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant