[php-src] PR #25534: gen_stub: put xml:id first in the root element of rewritten manual files

From: Date: Tue, 17 Nov 2026 19:46:42 +0000
Subject: [php-src] PR #25534: gen_stub: put xml:id first in the root element of rewritten manual files
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40746@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25534 Author: jordikroon build/gen_stub.php only moved xml:id back to the front of the root element for a few hard-coded tags. Others, like <sect1>, kept it at the end. Now it's done for any root element: ```diff -<sect1 xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="migration73.other-changes"> +<sect1 xml:id="migration73.other-changes" xmlns:xlink="http://www.w3.org/1999/xlink"> ``` To reproduce: > build/gen_stub.php --replace-classsynopses --replace-methodsynopses . /path/to/doc-en/

« previous php.git-pulls (#40746) next »