Skip to content

PHP 8.4 deprecation: Implicitly nullable parameter declarations is deprecatedΒ #391

@jacopotediosi

Description

@jacopotediosi

Running shopify-api-php 5.8.0 with PHP 8.4 prints the following notice:

PHP Deprecated: Shopify\Context::initialize(): Implicitly marking parameter $privateAppStorefrontAccessToken as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/shopify/shopify-api/src/Context.php on line 74 Deprecated: Shopify\Context::initialize(): Implicitly marking parameter $privateAppStorefrontAccessToken as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/shopify/shopify-api/src/Context.php on line 74 PHP Deprecated: Shopify\Context::initialize(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/shopify/shopify-api/src/Context.php on line 74 Deprecated: Shopify\Context::initialize(): Implicitly marking parameter $logger as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/shopify/shopify-api/src/Context.php on line 74 PHP Deprecated: GuzzleHttp\HandlerStack::__construct(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/HandlerStack.php on line 61 Deprecated: GuzzleHttp\HandlerStack::__construct(): Implicitly marking parameter $handler as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/HandlerStack.php on line 61 PHP Deprecated: GuzzleHttp\Handler\StreamHandler::invokeStats(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php on line 82 Deprecated: GuzzleHttp\Handler\StreamHandler::invokeStats(): Implicitly marking parameter $response as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php on line 82 PHP Deprecated: GuzzleHttp\Handler\StreamHandler::invokeStats(): Implicitly marking parameter $error as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php on line 82 Deprecated: GuzzleHttp\Handler\StreamHandler::invokeStats(): Implicitly marking parameter $error as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php on line 82 PHP Deprecated: GuzzleHttp\Middleware::httpErrors(): Implicitly marking parameter $bodySummarizer as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Middleware.php on line 58 Deprecated: GuzzleHttp\Middleware::httpErrors(): Implicitly marking parameter $bodySummarizer as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Middleware.php on line 58 PHP Deprecated: GuzzleHttp\Middleware::tap(): Implicitly marking parameter $before as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Middleware.php on line 135 Deprecated: GuzzleHttp\Middleware::tap(): Implicitly marking parameter $before as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Middleware.php on line 135 PHP Deprecated: GuzzleHttp\Middleware::tap(): Implicitly marking parameter $after as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Middleware.php on line 135 Deprecated: GuzzleHttp\Middleware::tap(): Implicitly marking parameter $after as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Middleware.php on line 135 PHP Deprecated: GuzzleHttp\Middleware::retry(): Implicitly marking parameter $delay as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Middleware.php on line 179 Deprecated: GuzzleHttp\Middleware::retry(): Implicitly marking parameter $delay as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/guzzle/src/Middleware.php on line 179 PHP Deprecated: GuzzleHttp\Psr7\Uri::isSameDocumentReference(): Implicitly marking parameter $base as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/psr7/src/Uri.php on line 281 Deprecated: GuzzleHttp\Psr7\Uri::isSameDocumentReference(): Implicitly marking parameter $base as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/psr7/src/Uri.php on line 281 PHP Deprecated: GuzzleHttp\Psr7\Response::__construct(): Implicitly marking parameter $reason as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/psr7/src/Response.php on line 94 Deprecated: GuzzleHttp\Psr7\Response::__construct(): Implicitly marking parameter $reason as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/psr7/src/Response.php on line 94 PHP Deprecated: GuzzleHttp\Promise\FulfilledPromise::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/promises/src/FulfilledPromise.php on line 33 Deprecated: GuzzleHttp\Promise\FulfilledPromise::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/promises/src/FulfilledPromise.php on line 33 PHP Deprecated: GuzzleHttp\Promise\FulfilledPromise::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/promises/src/FulfilledPromise.php on line 33 Deprecated: GuzzleHttp\Promise\FulfilledPromise::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/promises/src/FulfilledPromise.php on line 33 PHP Deprecated: GuzzleHttp\Promise\PromiseInterface::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/promises/src/PromiseInterface.php on line 29 Deprecated: GuzzleHttp\Promise\PromiseInterface::then(): Implicitly marking parameter $onFulfilled as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/promises/src/PromiseInterface.php on line 29 PHP Deprecated: GuzzleHttp\Promise\PromiseInterface::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/promises/src/PromiseInterface.php on line 29 Deprecated: GuzzleHttp\Promise\PromiseInterface::then(): Implicitly marking parameter $onRejected as nullable is deprecated, the explicit nullable type must be used instead in /php/vendor/guzzlehttp/promises/src/PromiseInterface.php on line 29 Shopify client connected

Refs:

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