dep-protobuf/php/tests/proto
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
..
empty PHP namespaces for nested messages and enums (#4536) 2018-05-24 13:39:41 -07:00
test.proto fix: do not throw deprecated warning on field getters for default values (#17788) 2024-08-20 07:07:22 -07:00
test_custom_enum_json.proto Support custom JSON enum names in PHP 2026-08-12 06:45:04 -07:00
test_default_value.proto feat(php): support default values for editions/proto2 (#25161) 2026-01-07 17:44:16 -08:00
test_descriptors.proto [PHP] Added getContainingOneof and getRealContainingOneof to descriptor. 2022-08-03 19:04:39 +00:00
test_empty_php_namespace.proto PHP namespaces for nested messages and enums (#4536) 2018-05-24 13:39:41 -07:00
test_import_descriptor_proto.proto Aggregate Metadata Files (#7155) 2020-02-10 11:27:27 -08:00
test_include.proto Breaking Change: Remove deprecated legacy class aliases. 2024-02-02 13:47:40 -08:00
test_no_namespace.proto PHP namespaces for nested messages and enums (#4536) 2018-05-24 13:39:41 -07:00
test_php_namespace.proto fix: fix PHP readonly legacy files for nested messages 2022-07-26 18:20:23 -07:00
test_prefix.proto PHP namespaces for nested messages and enums (#4536) 2018-05-24 13:39:41 -07:00
test_reserved_enum_lower.proto feat(php): script for updating php reserved words (#27456) 2026-08-11 11:46:11 -07:00
test_reserved_enum_upper.proto feat(php): script for updating php reserved words (#27456) 2026-08-11 11:46:11 -07:00
test_reserved_enum_value_lower.proto Fix PHP update_reserved_words.sh formatting and CI idempotency test 2026-08-11 19:53:43 -07:00
test_reserved_enum_value_upper.proto feat(php): script for updating php reserved words (#27456) 2026-08-11 11:46:11 -07:00
test_reserved_message_lower.proto Fix PHP update_reserved_words.sh formatting and CI idempotency test 2026-08-11 19:53:43 -07:00
test_reserved_message_upper.proto feat(php): script for updating php reserved words (#27456) 2026-08-11 11:46:11 -07:00
test_special_characters.proto feat: more readable phpdoc escaping (#11208) 2024-01-31 10:31:42 -08:00
test_wrapper_type_setters.proto Revert "Append field number to accessors if there is conflict (#6169)" (#6282) 2019-06-20 20:59:48 -07:00