You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Volodymyr Panivko (Jira)" <ji...@apache.org> on 2026/05/12 19:34:00 UTC
[jira] [Updated] (THRIFT-5986) Emit declare(strict_types=1) in PHP generator output
[ https://issues.apache.org/jira/browse/THRIFT-5986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Volodymyr Panivko updated THRIFT-5986:
--------------------------------------
Parent: THRIFT-5960
Issue Type: Sub-task (was: Improvement)
> Emit declare(strict_types=1) in PHP generator output
> ----------------------------------------------------
>
> Key: THRIFT-5986
> URL: https://issues.apache.org/jira/browse/THRIFT-5986
> Project: Thrift
> Issue Type: Sub-task
> Components: PHP - Compiler
> Reporter: Volodymyr Panivko
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Add declare(strict_types=1); to every PHP file produced by the t_php_generator (lib/cpp/src/thrift/generate/t_php_generator.cc) and regenerate all 6 fixture variants under lib/php/test/Resources/packages/.
> This is phase G1 of THRIFT-5960 PHP modernization (PHP generator regen). Followups:
> - G2: return types on generated read/write/getName.
> - G3: native types on generated properties + constructor.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)