php / doc-base

Tools for the PHP documentation
Other
343 stars 85 forks source link

Fix entity sorting #134

Closed haszi closed 2 months ago

haszi commented 2 months ago

Remove trailing semicolon from function entities and add them after sorting. Previously, sorting entities with trailing semicolons would result in functions not being in a natural order (e.g. curl_setopt_array would come before curl_setopt because curl_setopt; comes before curl_setopt_array;).

Closes https://github.com/php/doc-en/issues/2847

haszi commented 2 months ago

The Japanese build failure seems unrelated as it fails without these changes too.