[doc-en] master: scoutapm: fix XML to remove useless wrapping para tags via script

From: Date: Sun, 25 Jan 2026 15:52:39 +0000
Subject: [doc-en] master: scoutapm: fix XML to remove useless wrapping para tags via script
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23070@lists.php.net to get a copy of this message
Author: Gina Peter Banyard (Girgias) Date: 2026-01-25T15:52:36Z Commit: https://github.com/php/doc-en/commit/27cb550c69dc23ec95993a826609a1e9e406fc92 Raw diff: https://github.com/php/doc-en/commit/27cb550c69dc23ec95993a826609a1e9e406fc92.diff scoutapm: fix XML to remove useless wrapping para tags via script Changed paths: M reference/scoutapm/functions/scoutapm-get-calls.xml M reference/scoutapm/functions/scoutapm-list-instrumented-functions.xml M reference/scoutapm/setup.xml Diff: diff --git a/reference/scoutapm/functions/scoutapm-get-calls.xml b/reference/scoutapm/functions/scoutapm-get-calls.xml index 632e4f4d79c7..3e5e350d49da 100644 --- a/reference/scoutapm/functions/scoutapm-get-calls.xml +++ b/reference/scoutapm/functions/scoutapm-get-calls.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.scoutapm-get-calls" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.scoutapm-get-calls"> <refnamediv> <refname>scoutapm_get_calls</refname> <refpurpose>Returns a list of instrumented calls that have occurred</refpurpose> @@ -11,7 +10,7 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>scoutapm_get_calls</methodname> - <void /> + <void/> </methodsynopsis> <para>Returns a list of any instrumented function calls since <function>scoutapm_get_calls</function> was last called. The list is cleared each time the function is called.</para> @@ -32,9 +31,8 @@ <refsect1 role="examples"> &reftitle.examples; - <para> - <example><title>Fetch instrumented calls</title> - <programlisting role="php"> + <example><title>Fetch instrumented calls</title> + <programlisting role="php"> <![CDATA[ <?php @@ -44,10 +42,10 @@ file_get_contents('b.txt'); print_r(scoutapm_get_calls()); ?> ]]> - </programlisting> - &example.outputs.similar; - <screen> - <![CDATA[ + </programlisting> + &example.outputs.similar; + <screen> + <![CDATA[ Array ( [0] => Array @@ -78,14 +76,12 @@ Array ) ]]> - </screen> - </example> - </para> + </screen> + </example> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/scoutapm/functions/scoutapm-list-instrumented-functions.xml b/reference/scoutapm/functions/scoutapm-list-instrumented-functions.xml index 23c6ed8bb29f..ff824d757c81 100644 --- a/reference/scoutapm/functions/scoutapm-list-instrumented-functions.xml +++ b/reference/scoutapm/functions/scoutapm-list-instrumented-functions.xml @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<refentry xml:id="function.scoutapm-list-instrumented-functions" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.scoutapm-list-instrumented-functions"> <refnamediv> <refname>scoutapm_list_instrumented_functions</refname> <refpurpose>List functions scoutapm will instrument.</refpurpose> @@ -11,7 +10,7 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>scoutapm_list_instrumented_functions</methodname> - <void /> + <void/> </methodsynopsis> <para>Returns a list of the functions the extension will instrument.</para> @@ -33,18 +32,17 @@ <refsect1 role="examples"> &reftitle.examples; - <para> - <example><title>Fetch the list of functions scoutapm will instrument</title> - <programlisting role="php"> - <![CDATA[ + <example><title>Fetch the list of functions scoutapm will instrument</title> + <programlisting role="php"> + <![CDATA[ <?php print_r(scoutapm_list_instrumented_functions()); ?> ]]> - </programlisting> - &example.outputs.similar; - <screen> - <![CDATA[ + </programlisting> + &example.outputs.similar; + <screen> + <![CDATA[ Array ( [0] => file_get_contents @@ -58,14 +56,12 @@ Array [8] => pdostatement->execute ) ]]> - </screen> - </example> - </para> + </screen> + </example> </refsect1> </refentry> - <!-- Keep this comment at the end of the file Local variables: mode: sgml diff --git a/reference/scoutapm/setup.xml b/reference/scoutapm/setup.xml index 1467069be935..b9df23f224b5 100644 --- a/reference/scoutapm/setup.xml +++ b/reference/scoutapm/setup.xml @@ -1,21 +1,18 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> - -<chapter xml:id="scoutapm.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> +<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="scoutapm.setup"> &reftitle.setup; <section xml:id="scoutapm.requirements"> &reftitle.required; - <para> - <itemizedlist> - <listitem> - <simpara>PHP &gt;= 7.1.0</simpara> - </listitem> - <listitem> - <simpara>Windows is not currently supported</simpara> - </listitem> - </itemizedlist> - </para> + <itemizedlist> + <listitem> + <simpara>PHP &gt;= 7.1.0</simpara> + </listitem> + <listitem> + <simpara>Windows is not currently supported</simpara> + </listitem> + </itemizedlist> </section> <section xml:id="scoutapm.installation"> @@ -37,7 +34,6 @@ extension=scoutapm.so </section> </chapter> - <!-- Keep this comment at the end of the file Local variables: mode: sgml

« previous php.doc.cvs (#23070) next »