typesense / typesense-php

PHP client for Typesense: https://github.com/typesense/typesense
Apache License 2.0
184 stars 35 forks source link

Composer: Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead. #39

Closed kdevan closed 11 months ago

kdevan commented 1 year ago

Description

Composer is displaying a warning that a package being used here is abandoned.

Steps to reproduce

My composer configuration is set up like this:

"config": {
    "optimize-autoloader": true,
    "preferred-install": "dist",
    "sort-packages": true,
    "allow-plugins": {
        "composer/package-versions-deprecated": true,
        "ergebnis/composer-normalize": true,
        "php-http/discovery": false
    },
    "github-protocols": ["https"]
}

Maybe the composer/package-versions-deprecated is showing this.

Expected Behavior

No warning.

Actual Behavior

Package php-http/message-factory is abandoned, you should avoid using it. Use psr/http-factory instead.

Metadata

Typesense Version: 0.24.1

Sammyjo20 commented 1 year ago

I'm having this issue as well - any chance this dependency could be updated?

karakhanyans commented 11 months ago

Hi @kdevan @Sammyjo20

The issue was solved with this PR: https://github.com/typesense/typesense-php/releases/tag/v4.9.0

Please update to the latest version.