mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
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 |
||
|---|---|---|
| .. | ||
| empty | ||
| test.proto | ||
| test_custom_enum_json.proto | ||
| test_default_value.proto | ||
| test_descriptors.proto | ||
| test_empty_php_namespace.proto | ||
| test_import_descriptor_proto.proto | ||
| test_include.proto | ||
| test_no_namespace.proto | ||
| test_php_namespace.proto | ||
| test_prefix.proto | ||
| test_reserved_enum_lower.proto | ||
| test_reserved_enum_upper.proto | ||
| test_reserved_enum_value_lower.proto | ||
| test_reserved_enum_value_upper.proto | ||
| test_reserved_message_lower.proto | ||
| test_reserved_message_upper.proto | ||
| test_special_characters.proto | ||
| test_wrapper_type_setters.proto | ||