[ 
https://issues.apache.org/jira/browse/THRIFT-5935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer resolved THRIFT-5935.
--------------------------------
    Fix Version/s: 0.23.0
       Resolution: Fixed

> 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
>            Priority: Minor
>             Fix For: 0.23.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to