Skip to content

Write redirects.json inside the php-web directory - #270

Draft
lacatoire wants to merge 3 commits into
php:masterfrom
lacatoire:fix/redirects-json-output
Draft

lacatoire wants to merge 3 commits into
php:masterfrom
lacatoire:fix/redirects-json-output

Conversation

@lacatoire

@lacatoire lacatoire commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Redirects::renderTo() wrote the JSON onto the php-web directory itself ("Is a directory"). Write redirects.json inside it, with a test.

Includes #260, which it fixes.

Block: php/doc-extensions#49, php/doc-en#5998, php/doc-fr#3696, php/web-php#2038. Merge order and how to test: php/doc-fr#3696.

jordikroon and others added 3 commits July 6, 2026 23:13
Redirects::renderTo() created the php-web directory and then tried to
write the JSON onto that same path, which fails with "Is a directory".
Write the file inside the directory and cover renderTo() with a test.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants