Skip to content

All Scayle service requests are logged as deprecated by GuzzleHttp >= 7.13.1 #2

Description

@xtrose

All your service classes use the request method via GuzzleHttp.

The request method must be passed in uppercase; otherwise, a deprecation warning is logged.

Example:

public function updateOrCreate(
        string $attributeGroupName,
        array $model,
        array $options = []
    ): void {
        $this->request(
            method: 'post',
            relativeUrl: $this->resolvePath('/attributes/%s/translations', $attributeGroupName),
            query: $options,
            headers: [],
            modelClass: null,
            body: $model
        );
    }
public function updateOrCreate(
        string $attributeGroupName,
        array $model,
        array $options = []
    ): void {
        $this->request(
            method: 'POST',
            relativeUrl: $this->resolvePath('/attributes/%s/translations', $attributeGroupName),
            query: $options,
            headers: [],
            modelClass: null,
            body: $model
        );
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions