dep-protobuf/php/tests
Tony Liao 1b27892b8b Support custom JSON enum names in PHP
This CL adds support for the Edition 2026 custom JSON enum name feature (pb.enumvalue.json) in PHP Protobuf.

Note that we don't need extension caching similar to C++ or Java because our PHP code generator collects custom JSON names at protoc compile time and passes them to DescriptorPool::internalAddGeneratedFile(), populating EnumValueDescriptor and EnumDescriptor during descriptor registration.

Tested with PHP unit tests across pure-PHP and C-extension modes.

PiperOrigin-RevId: 963411589
2026-08-12 06:45:04 -07:00
..
generated_previous feat: [PHP] add previous classname to descriptor pool 2022-05-31 15:21:46 -07:00
proto Support custom JSON enum names in PHP 2026-08-12 06:45:04 -07:00
proto_previous feat: [PHP] add previous classname to descriptor pool 2022-05-31 15:21:46 -07:00
ArrayTest.php PHP C Ext: Harden behavior in the face of a bugged custom error handler. 2026-06-17 09:39:09 -07:00
compile_extension.sh Parallelize the build of the PHP extension 2023-03-06 07:10:14 -08:00
ComposerJsonTest.php Fix signedness comparison warning (#23354) 2025-09-10 07:33:34 -07:00
DebugInfoTest.php feat(php): script for updating php reserved words (#27456) 2026-08-11 11:46:11 -07:00
DefaultValueTest.php feat(php): support default values for editions/proto2 (#25161) 2026-01-07 17:44:16 -08:00
DescriptorsTest.php Breaking Change: Remove deprecated PHP APIs FieldDescriptor getLabel, use IsRepeated or isRequired instead. 2025-12-16 15:26:03 -08:00
EncodeDecodeTest.php Support custom JSON enum names in PHP 2026-08-12 06:45:04 -07:00
force_c_ext.php Updated and simplified PHP testing structure (#8558) 2021-05-04 10:19:22 -07:00
gdb_test.sh Simplified PHP testing scripts. (#7574) 2020-05-28 19:24:08 -07:00
GeneratedClassTest.php feat(php): script for updating php reserved words (#27456) 2026-08-11 11:46:11 -07:00
GeneratedPhpdocTest.php Bump version dependencies on phpunit/phpunit to ">=11.5.0 <12.0.0" 2026-01-27 18:34:56 -08:00
MapFieldTest.php feat(php): Add PHP typehints for setters and remove redundant GPBUtil checks (#25296) 2026-01-15 23:44:59 -08:00
memory_leak_test.php Internal change 2023-09-18 15:17:56 -07:00
memory_leak_test.sh Fixed PHP SEGV when constructing messages from a destructor. 2021-09-10 16:57:59 -07:00
multirequest.php Fix Multiple Request for PHP (#7008) 2019-12-12 13:59:51 -08:00
multirequest.sh Fixed multirequest.sh script for when nohup.out does not exist. 2021-09-11 09:24:14 -07:00
PhpImplementationTest.php Pure PHP: add test that confirms high bits set in the 10th varint byte are silently discarded (except for the continuation bit which parse-fails). 2026-04-15 08:56:36 -07:00
test_base.php feat(php): Add PHP typehints for setters and remove redundant GPBUtil checks (#25296) 2026-01-15 23:44:59 -08:00
test_util.php Updated upb to pick up several bugfixes (#7740) 2020-08-07 14:44:49 -07:00
UpdateReservedTest.php feat(php): script for updating php reserved words (#27456) 2026-08-11 11:46:11 -07:00
valgrind.supp Fixed PHP SEGV when constructing messages from a destructor. 2021-09-10 16:57:59 -07:00
WellKnownTest.php Bump version dependencies on phpunit/phpunit to ">=11.5.0 <12.0.0" 2026-01-27 18:34:56 -08:00
WrapperTypeSettersTest.php Bump version dependencies on phpunit/phpunit to ">=11.5.0 <12.0.0" 2026-01-27 18:34:56 -08:00