Skip to content

Commit 289efd6

Browse files
authored
Fix notes section being in wrong order for reference/zip (#568)
1 parent 435885e commit 289efd6

File tree

3 files changed

+39
-27
lines changed

3 files changed

+39
-27
lines changed

reference/zip/ziparchive/registercancelcallback.xml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<refname>ZipArchive::registerCancelCallback</refname>
77
<refpurpose>Register a callback to allow cancellation during archive close.</refpurpose>
88
</refnamediv>
9+
910
<refsect1 role="description">
1011
&reftitle.description;
1112
<methodsynopsis>
@@ -17,6 +18,7 @@
1718
Register a <parameter>callback</parameter> function to allow cancellation during archive close.
1819
</para>
1920
</refsect1>
21+
2022
<refsect1 role="parameters">
2123
&reftitle.parameters;
2224
<para>
@@ -32,22 +34,14 @@
3234
</variablelist>
3335
</para>
3436
</refsect1>
37+
3538
<refsect1 role="returnvalues">
3639
&reftitle.returnvalues;
3740
<para>
3841
&return.success;
3942
</para>
4043
</refsect1>
4144

42-
<refsect1 role="notes">
43-
&reftitle.notes;
44-
<note>
45-
<para>
46-
This function is only available if built against libzip ≥ 1.6.0.
47-
</para>
48-
</note>
49-
</refsect1>
50-
5145
<refsect1 role="examples">
5246
&reftitle.examples;
5347
<para>
@@ -73,6 +67,15 @@ if ($zip->open('php.zip', ZipArchive::CREATE | ZipArchive::OVERWRITE)) {
7367
</example>
7468
</refsect1>
7569

70+
<refsect1 role="notes">
71+
&reftitle.notes;
72+
<note>
73+
<para>
74+
This function is only available if built against libzip ≥ 1.6.0.
75+
</para>
76+
</note>
77+
</refsect1>
78+
7679
<refsect1 role="seealso">
7780
&reftitle.seealso;
7881
<para>
@@ -81,6 +84,7 @@ if ($zip->open('php.zip', ZipArchive::CREATE | ZipArchive::OVERWRITE)) {
8184
</simplelist>
8285
</para>
8386
</refsect1>
87+
8488
</refentry>
8589

8690
<!-- Keep this comment at the end of the file

reference/zip/ziparchive/registerprogresscallback.xml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<refname>ZipArchive::registerProgressCallback</refname>
77
<refpurpose>Register a callback to provide updates during archive close.</refpurpose>
88
</refnamediv>
9+
910
<refsect1 role="description">
1011
&reftitle.description;
1112
<methodsynopsis>
@@ -18,6 +19,7 @@
1819
Register a <parameter>callback</parameter> function to provide updates during archive close.
1920
</para>
2021
</refsect1>
22+
2123
<refsect1 role="parameters">
2224
&reftitle.parameters;
2325
<para>
@@ -41,22 +43,14 @@
4143
</variablelist>
4244
</para>
4345
</refsect1>
46+
4447
<refsect1 role="returnvalues">
4548
&reftitle.returnvalues;
4649
<para>
4750
&return.success;
4851
</para>
4952
</refsect1>
5053

51-
<refsect1 role="notes">
52-
&reftitle.notes;
53-
<note>
54-
<para>
55-
This function is only available if built against libzip ≥ 1.3.0.
56-
</para>
57-
</note>
58-
</refsect1>
59-
6054
<refsect1 role="examples">
6155
&reftitle.examples;
6256
<para>
@@ -81,6 +75,15 @@ if ($zip->open('php.zip', ZipArchive::CREATE | ZipArchive::OVERWRITE)) {
8175
</example>
8276
</refsect1>
8377

78+
<refsect1 role="notes">
79+
&reftitle.notes;
80+
<note>
81+
<para>
82+
This function is only available if built against libzip ≥ 1.3.0.
83+
</para>
84+
</note>
85+
</refsect1>
86+
8487
<refsect1 role="seealso">
8588
&reftitle.seealso;
8689
<para>
@@ -89,6 +92,7 @@ if ($zip->open('php.zip', ZipArchive::CREATE | ZipArchive::OVERWRITE)) {
8992
</simplelist>
9093
</para>
9194
</refsect1>
95+
9296
</refentry>
9397

9498
<!-- Keep this comment at the end of the file

reference/zip/ziparchive/setencryptionindex.xml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<refname>ZipArchive::setEncryptionIndex</refname>
66
<refpurpose>Set the encryption method of an entry defined by its index</refpurpose>
77
</refnamediv>
8+
89
<refsect1 role="description">
910
&reftitle.description;
1011
<methodsynopsis>
@@ -17,6 +18,7 @@
1718
Set the encryption method of an entry defined by its index.
1819
</para>
1920
</refsect1>
21+
2022
<refsect1 role="parameters">
2123
&reftitle.parameters;
2224
<para>
@@ -48,22 +50,14 @@
4850
</variablelist>
4951
</para>
5052
</refsect1>
53+
5154
<refsect1 role="returnvalues">
5255
&reftitle.returnvalues;
5356
<para>
5457
&return.success;
5558
</para>
5659
</refsect1>
5760

58-
<refsect1 role="notes">
59-
&reftitle.notes;
60-
<note>
61-
<para>
62-
This function is only available if built against libzip ≥ 1.2.0.
63-
</para>
64-
</note>
65-
</refsect1>
66-
6761
<refsect1 role="changelog">
6862
&reftitle.changelog;
6963
<informaltable>
@@ -86,6 +80,15 @@
8680
</informaltable>
8781
</refsect1>
8882

83+
<refsect1 role="notes">
84+
&reftitle.notes;
85+
<note>
86+
<para>
87+
This function is only available if built against libzip ≥ 1.2.0.
88+
</para>
89+
</note>
90+
</refsect1>
91+
8992
<refsect1 role="seealso">
9093
&reftitle.seealso;
9194
<para>
@@ -95,6 +98,7 @@
9598
</simplelist>
9699
</para>
97100
</refsect1>
101+
98102
</refentry>
99103
<!-- Keep this comment at the end of the file
100104
Local variables:

0 commit comments

Comments
 (0)