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

TypeError with php 8.1 #165

Description

@webmake

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",

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