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:11:00 UTC
[jira] [Created] (THRIFT-5986) Emit declare(strict_types=1) in PHP generator output
Volodymyr Panivko created THRIFT-5986:
-----------------------------------------
Summary: 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: Improvement
Components: PHP - Compiler
Reporter: Volodymyr Panivko
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)