1
0
mirror of https://github.com/php/phd.git synced 2026-04-29 18:03:19 +02:00

5 Commits

Author SHA1 Message Date
haszi e012bdf3c1 Fix GH-225 (#226)
* Closes GH-225 - cannot reload saved configuration
* Add test
* Prevent serializing and deserializing non-serializable properties
2026-02-05 22:25:12 +01:00
Jim Winstead 417b06655c Fix element map so changelog rows are handled correctly (#146) 2024-09-23 11:16:41 -07:00
haszi 25a18b956a Fix doc-en GH-3428 (#137)
Replace static example element counter with class properties in Index and generic XHTML.
Add tests.
Refactor TestRender so that it can render multiple formats.

Co-authored-by: haszi <haszika80@gmail.com>
2024-06-14 16:08:07 +01:00
haszi e18fd3eee0 Add example indexing and rendering test (#136)
Co-authored-by: haszi <haszika80@gmail.com>
2024-06-05 00:13:00 +01:00
haszi 8625d102d5 Fix GH-3353 incorrect function tag linking (#123)
Closes https://github.com/php/doc-en/issues/3353.

When the list of `refentry`s (functions and methods) is retrieved from the indexing database the characters `_`, `::` and `->` in their names were replaced by `-` before storing them in the array `$ref` in `Format.php`. As this array is used to generate the links to and the index list of functions/methods, functions and methods with the same name after replacing the before mentioned characters (e.g. `finfo_buffer()`/`finfo::buffer()`, `finfo_file()`/`finfo::file()`, etc.) were overwriting each other's reference entries in memory (in the `$ref` array).

Fix this by not replacing the above listed characters.

Co-authored-by: haszi <haszika80@gmail.com>
2024-05-22 16:19:28 +01:00