pagarme / pagarme-core-api-php

Other
0 stars 3 forks source link

DEPRECATED Functions #33

Open zerossB opened 1 year ago

zerossB commented 1 year ago

Toda vez que vou rodar uma integração pelo SDK me aparece essas mensagens de DEPRECATED.

   DEPRECATED  Return type of PagarmeCoreApiLib\Models\ListCustomersResponse::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor/pagarme/pagarmecoreapi/src/Models/ListCustomersResponse.php on line 48.

   DEPRECATED  Return type of PagarmeCoreApiLib\Models\GetCustomerResponse::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor/pagarme/pagarmecoreapi/src/Models/GetCustomerResponse.php on line 172.

   DEPRECATED  Return type of PagarmeCoreApiLib\Models\GetPhonesResponse::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor/pagarme/pagarmecoreapi/src/Models/GetPhonesResponse.php on line 50.

   DEPRECATED  Return type of PagarmeCoreApiLib\Models\GetAddressResponse::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor/pagarme/pagarmecoreapi/src/Models/GetAddressResponse.php on line 191.

   DEPRECATED  Return type of PagarmeCoreApiLib\Models\GetPhoneResponse::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor/pagarme/pagarmecoreapi/src/Models/GetPhoneResponse.php on line 56.

   DEPRECATED  Return type of PagarmeCoreApiLib\Models\PagingResponse::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor/pagarme/pagarmecoreapi/src/Models/PagingResponse.php on line 57.

Versão instalada:

name     : pagarme/pagarmecoreapi
descrip. : Pagarme API
keywords : PagarmeCoreApi, api, sdk
versions : * v5.7.0
type     : library
license  : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
homepage : https://apimatic.io
source   : [git] https://github.com/pagarme/pagarme-core-api-php.git c400fe1261271c9c336cedbcec56e74ce7f9ccfe
dist     : [zip] https://api.github.com/repos/pagarme/pagarme-core-api-php/zipball/c400fe1261271c9c336cedbcec56e74ce7f9ccfe c400fe1261271c9c336cedbcec56e74ce7f9ccfe
path     : /home/haynes/Projetos/haynestec/xtative-cms-api/vendor/pagarme/pagarmecoreapi
names    : pagarme/pagarmecoreapi

support
issues : https://github.com/pagarme/pagarme-core-api-php/issues
source : https://github.com/pagarme/pagarme-core-api-php/tree/v5.7.0

autoload
psr-4
PagarmeCoreApiLib\ => src/

requires
apimatic/jsonmapper ^1.3.1
apimatic/unirest-php ^2.0.0
ext-curl *
ext-json *
ext-mbstring *
php >=5.4.0

requires (dev)
squizlabs/php_codesniffer ^2.7

Instalada no Laravel 9

name     : laravel/framework
descrip. : The Laravel Framework.
keywords : framework, laravel
versions : * v9.43.0
type     : library
license  : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
homepage : https://laravel.com
source   : [git] https://github.com/laravel/framework.git 011f2e1d49a11c22519a7899b46ddf3bc5b0f40b
dist     : [zip] https://api.github.com/repos/laravel/framework/zipball/011f2e1d49a11c22519a7899b46ddf3bc5b0f40b 011f2e1d49a11c22519a7899b46ddf3bc5b0f40b
path     : /home/haynes/Projetos/haynestec/xtative-cms-api/vendor/laravel/framework
names    : laravel/framework, psr/container-implementation, psr/simple-cache-implementation, illuminate/auth, illuminate/broadcasting, illuminate/bus, illuminate/cache, illuminate/collections, illuminate/conditionable, illuminate/config, illuminate/console, illuminate/container, illuminate/contracts, illuminate/cookie, illuminate/database, illuminate/encryption, illuminate/events, illuminate/filesystem, illuminate/hashing, illuminate/http, illuminate/log, illuminate/macroable, illuminate/mail, illuminate/notifications, illuminate/pagination, illuminate/pipeline, illuminate/queue, illuminate/redis, illuminate/routing, illuminate/session, illuminate/support, illuminate/testing, illuminate/translation, illuminate/validation, illuminate/view

support
issues : https://github.com/laravel/framework/issues
source : https://github.com/laravel/framework

autoload
files
psr-4
Illuminate\ => src/Illuminate/
Illuminate\Support\ => src/Illuminate/Macroable/, src/Illuminate/Collections/, src/Illuminate/Conditionable/