Skip to content

Совместимость с php8.1 #103

Closed
a-treschilov opened this issue Feb 20, 2022 · 1 comment
Closed

Совместимость с php8.1 #103

a-treschilov opened this issue Feb 20, 2022 · 1 comment

Comments

@a-treschilov
Copy link

В php8.1 контракты вызывают warnings вида
Deprecated: Return type of Google\Protobuf\Internal\RepeatedField::offsetExists($offset) should either be
compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used
to temporarily suppress the notice in /var/vendor/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php
on line 233

В grpc библиотеке этот баг пофиксили protocolbuffers/protobuf#9301. Кажется стоит перегенирировать конктракты.

@AlexanderVolkovTCS
Copy link
Collaborator

Добрый день, вероятно речь идет о sdk на php, адресуйте вопрос по перегенерации контрактов в их репозитарии, пожалуйста.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants