retailcrm / api-client-php

PHP client for RetailCRM API
http://www.retailcrm.ru
MIT License
60 stars 58 forks source link

Incompatibility with PHP8.1 #136

Closed proorlov closed 2 years ago

proorlov commented 2 years ago

PHP Parse error: syntax error, unexpected token "readonly" in .../vendor/retailcrm/api-client-php/src/Component/Serializer/Parser/JMSParser.php on line 333

Neur0toxine commented 2 years ago

We use liip/serializer to perform serialization and deserialization of DTO. That library is using liip/metadata-parser to parse DTO annotations. liip/metadata-parser does not support PHP 8.1 yet.

We will add support for PHP 8.1 when it'll be implemented in the liip/metadata-parser.