aboutsummaryrefslogtreecommitdiff
path: root/php/tests/well_known_test.php
Commit message (Collapse)AuthorAgeFilesLines
* Allow proto files to import descriptor.proto (#2995)Paul Yang2017-04-201-2/+8
| | | | | | | | | descriptor.proto uses proto2 syntax, which is not ready for external usage. However, some proto3 files import descriptor.proto and cannot be used. In this PR, all references (We cheated by only removing extensions, which is enough for now. User should avoid using messages defined in descriptor.proto as field type.) to content in descriptor.proto are removed from generated files. Those that import descriptor.proto can be used like other proto files.
* Make php generated code conform to PSR-4. (#2435)Paul Yang2016-12-081-2/+0
| | | | 1. Generate single file for each message. 2. Lazily initiate metadata.
* Rename Empty to GPBEmpty in php generated file.Paul Yang2016-11-161-0/+13
In php, class name cannot be "Empty". Modified code generator to (#2375) generate GPBEmpty instead (for google.protobuf.Empty only). Also change runtime code to work with the new generated code accordingly.