Skip to content

Commit 6b27c1f

Browse files
authored
Add file option php_class_prefix (protocolbuffers#2849)
This option will be prepended to generated classes of all messages in the containing file.
1 parent c0871aa commit 6b27c1f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+943
-665
lines changed

Makefile.am

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,21 @@ objectivec_EXTRA_DIST= \
584584
Protobuf.podspec
585585

586586
php_EXTRA_DIST= \
587+
php/ext/google/protobuf/utf8.h \
588+
php/ext/google/protobuf/message.c \
589+
php/ext/google/protobuf/utf8.c \
590+
php/ext/google/protobuf/package.xml \
591+
php/ext/google/protobuf/upb.h \
592+
php/ext/google/protobuf/array.c \
593+
php/ext/google/protobuf/encode_decode.c \
594+
php/ext/google/protobuf/protobuf.h \
595+
php/ext/google/protobuf/type_check.c \
596+
php/ext/google/protobuf/def.c \
597+
php/ext/google/protobuf/storage.c \
598+
php/ext/google/protobuf/map.c \
599+
php/ext/google/protobuf/config.m4 \
600+
php/ext/google/protobuf/upb.c \
601+
php/ext/google/protobuf/protobuf.c \
587602
php/src/phpdoc.dist.xml \
588603
php/src/Google/Protobuf/Internal/DescriptorPool.php \
589604
php/src/Google/Protobuf/Internal/GeneratedCodeInfo.php \
@@ -632,39 +647,26 @@ php_EXTRA_DIST= \
632647
php/src/Google/Protobuf/Internal/FieldOptions_CType.php \
633648
php/src/Google/Protobuf/descriptor.php \
634649
php/src/GPBMetadata/Google/Protobuf/Internal/Descriptor.php \
650+
php/tests/array_test.php \
635651
php/tests/autoload.php \
636652
php/tests/encode_decode_test.php \
637-
php/tests/test.sh \
638653
php/tests/gdb_test.sh \
639654
php/tests/generated_class_test.php \
640-
php/tests/array_test.php \
655+
php/tests/map_field_test.php \
656+
php/tests/memory_leak_test.php \
641657
php/tests/php_implementation_test.php \
642658
php/tests/proto/test_include.proto \
643-
php/tests/map_field_test.php \
644-
php/tests/test_base.php \
659+
php/tests/proto/test.proto \
660+
php/tests/proto/test_prefix.proto \
645661
php/tests/proto/test_no_namespace.proto \
662+
php/tests/test.sh \
663+
php/tests/test_base.php \
646664
php/tests/test_util.php \
647-
php/tests/proto/test.proto \
648-
php/tests/memory_leak_test.php \
649665
php/tests/well_known_test.php \
650666
php/README.md \
651-
php/ext/google/protobuf/utf8.h \
652-
php/ext/google/protobuf/message.c \
653-
php/ext/google/protobuf/utf8.c \
654-
php/ext/google/protobuf/package.xml \
655-
php/ext/google/protobuf/upb.h \
656-
php/ext/google/protobuf/array.c \
657-
php/ext/google/protobuf/encode_decode.c \
658-
php/ext/google/protobuf/protobuf.h \
659-
php/ext/google/protobuf/type_check.c \
660-
php/ext/google/protobuf/def.c \
661-
php/ext/google/protobuf/storage.c \
662-
php/ext/google/protobuf/map.c \
663-
php/ext/google/protobuf/config.m4 \
664-
php/ext/google/protobuf/upb.c \
665-
php/ext/google/protobuf/protobuf.c \
666667
php/phpunit.xml \
667668
php/composer.json \
669+
php/generate_descriptor_protos.sh \
668670
composer.json
669671

670672
python_EXTRA_DIST= \

0 commit comments

Comments
 (0)