Skip to content

Fix PHP 8.1 deprecated messages #28

@Lotuashvili

Description

@Lotuashvili

Please update osiset/basic-shopify-api package to a v11.0.0 version, which fixes PHP 8.1 deprecation warnings, and also renames namespace from Osiset to Gnikyt. Compare v11.0.0 to v10.0.6

I am getting these errors now:

PHP Deprecated: Return type of Osiset\BasicShopifyAPI\ResponseAccess::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /vendor/osiset/basic-shopify-api/src/ResponseAccess.php on line 60

PHP Deprecated: Return type of Osiset\BasicShopifyAPI\ResponseAccess::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /vendor/osiset/basic-shopify-api/src/ResponseAccess.php on line 155

Issues & PRs in package:

gnikyt/Basic-Shopify-API#129

gnikyt/Basic-Shopify-API#136

gnikyt/Basic-Shopify-API@d17d42e

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions