Pavel Kvach created THRIFT-5935:
-----------------------------------
Summary: Fix deprecated non-canonical casts for PHP 8.5
compatibility
Key: THRIFT-5935
URL: https://issues.apache.org/jira/browse/THRIFT-5935
Project: Thrift
Issue Type: Bug
Components: PHP - Compiler
Reporter: Pavel Kvach
Assignee: Pavel Kvach
PHP 8.5 deprecates non-canonical type casts such as (boolean), (integer),
(double), and (binary), recommending the use of (bool), (int), (float), and
(string) instead. The Thrift PHP code generator currently emits non-canonical
casts, resulting in deprecation warnings (e.g., "Deprecated: Non-canonical cast
(double) is deprecated, use the (float) cast instead").
https://www.php.net/manual/en/migration85.deprecated.php
--
This message was sent by Atlassian Jira
(v8.20.10#820010)