Brent Shaffer
f929439ccd
feat: more readable phpdoc escaping ( #11208 )
...
The PHPDoc escaping in PHP is aggressive in that it escapes some character sequences that don't need to be escaped (`/*`), and it uses HTML entities to escape others (`*/` and `@`) instead of the recommended PHPDoc escape sequences.
For Example, in [`Google\Api\RoutingParameter`](https://github.com/googleapis/common-protos-php/blob/main/src/Api/RoutingParameter.php#L42 ):
```
* path_template: "projects/*/{table_location=instances/*}/tables/*"
```
Should be escaped as:
```
* path_template: "projects/{@*}{table_location=instances/*}/tables/*"
```
according to [the PHPDoc guide](https://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_phpDocumentor.howto.pkg.html#basics.desc ):
- For `@`: "if you need an actual "@" in your DocBlock's description parts, you should be careful to either ensure it is not the first character on a line, or else escape it ("\\@") to avoid it being interpreted as a PhpDocumentor tag marker."
- For `*/`: " If you need to use the closing comment "\*/" in a DocBlock, use the special escape sequence "{@*}."
Closes #11208
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11208 from bshaffer:more-readable-phpdoc-escaping a75f9745ea
PiperOrigin-RevId: 603091642
10 months ago
Protobuf Team Bot
4df6e042ec
Auto-generate files after cl/602785269
10 months ago
Protobuf Team Bot
fd82df7dba
Auto-generate files after cl/602461889
10 months ago
Protobuf Team Bot
94f759bb79
Auto-generate files after cl/602270576
10 months ago
Protobuf Team Bot
886a0b15cd
Auto-generate files after cl/601848001
10 months ago
Protobuf Team Bot
1d143b5d7e
Auto-generate files after cl/601525709
10 months ago
Protobuf Team Bot
c13512aee3
Auto-generate files after cl/601494260
10 months ago
Dennis Shao
9146ce6ddb
Updating version.json and repo version numbers to: 27-dev ( #15590 )
...
Closes #15590
PiperOrigin-RevId: 601468713
10 months ago
Protobuf Team Bot
570c386f5e
Auto-generate files after cl/601195914
10 months ago
Protobuf Team Bot
3d7e4d6347
Auto-generate files after cl/601004095
10 months ago
Protobuf Team Bot
64441a20d3
Auto-generate files after cl/600926618
10 months ago
Protobuf Team Bot
9ffbe84cba
Auto-generate files after cl/600653849
10 months ago
Protobuf Team Bot
23c618aa7d
Auto-generate files after cl/600639423
10 months ago
Sandy Zhang
3c8a3d27f7
Raise minimum PHP version to 8.1, due to PHP 8.0 EOL per https://cloud.google.com/php/getting-started/supported-php-versions
...
Drops tests for PHP 8.0, and adds tests for PHP 8.3. See https://www.php.net/supported-versions.php .
PiperOrigin-RevId: 599636473
11 months ago
Protobuf Team Bot
3d79d0374b
Auto-generate files after cl/599369761
11 months ago
Protobuf Team Bot
fe6a601598
Auto-generate files after cl/599313198
11 months ago
Protobuf Team Bot
27af4c802f
Auto-generate files after cl/599220883
11 months ago
Protobuf Team Bot
c12c96e194
Auto-generate files after cl/598741329
11 months ago
Joshua Haberman
d14dbbc838
Breaking Change: Validate UTF-8 in string setters, [as previously announced]( https://protobuf.dev/news/2023-12-27/#php-breaking-changes ).
...
Pure-PHP was already validating UTF-8, but this makes the C extension validate also.
PiperOrigin-RevId: 597695655
11 months ago
Protobuf Team Bot
03440ec744
Auto-generate files after cl/597662892
11 months ago
Protobuf Team Bot
81e5433f5c
Auto-generate files after cl/597629658
11 months ago
Protobuf Team Bot
06327f0a7c
Auto-generate files after cl/597573362
11 months ago
Protobuf Team Bot
41c8f2a5c6
Auto-generate files after cl/597378801
11 months ago
Protobuf Team Bot
1610bf149e
Auto-generate files after cl/597341799
11 months ago
Protobuf Team Bot
6820a563e2
Auto-generate files after cl/597327159
11 months ago
Protobuf Team Bot
9bee747dcf
Auto-generate files after cl/597279852
11 months ago
Protobuf Team Bot
8c1f635716
Auto-generate files after cl/597126288
11 months ago
Protobuf Team Bot
408b497d4e
Auto-generate files after cl/597088960
11 months ago
Protobuf Team Bot
afd94185f7
Auto-generate files after cl/597019522
11 months ago
Protobuf Team Bot
f2c187df28
Auto-generate files after cl/596962024
11 months ago
Protobuf Team Bot
e1253cd905
Auto-generate files after cl/596706308
11 months ago
Protobuf Team Bot
4e90eadcb3
Auto-generate files after cl/596588385
11 months ago
Protobuf Team Bot
1a21cb57b7
Auto-generate files after cl/596390524
11 months ago
Protobuf Team Bot
7e32450ccd
Auto-generate files after cl/595733611
11 months ago
Protobuf Team Bot
3d9916caca
Auto-generate files after cl/595137531
11 months ago
Protobuf Team Bot
18d4a7651b
Auto-generate files after cl/595018281
11 months ago
Protobuf Team Bot
de5ea1e6a4
Auto-generate files after cl/595002227
11 months ago
Protobuf Team Bot
cb8a31ee3d
Auto-generate files after cl/594992691
11 months ago
Protobuf Team Bot
2b79738d5f
Auto-generate files after cl/594654099
11 months ago
Protobuf Team Bot
499c748e39
Auto-generate files after cl/594514934
11 months ago
Protobuf Team Bot
61b82528ba
Auto-generate files after cl/594337191
11 months ago
Protobuf Team Bot
1597bf4971
Auto-generate files after cl/594322509
11 months ago
Protobuf Team Bot
c2c01b6166
Auto-generate files after cl/594280505
11 months ago
Protobuf Team Bot
e9ea4a5154
Auto-generate files after cl/594135760
11 months ago
Protobuf Team Bot
9b4aff2a43
Auto-generate files after cl/594089137
11 months ago
Protobuf Team Bot
80b5fe437b
Auto-generate files after cl/594074354
11 months ago
Protobuf Team Bot
c4a7b036ad
Auto-generate files after cl/593870914
11 months ago
Protobuf Team Bot
4c7434560d
Auto-generate files after cl/593859422
11 months ago
Protobuf Team Bot
da56def7c2
Auto-generate files after cl/593821827
11 months ago
Protobuf Team Bot
e27855032a
Auto-generate files after cl/592935088
12 months ago