Skip to content

Commit 3f1dbc4

Browse files
Remove <para> in invalid places (#4999)
1 parent 2def8c3 commit 3f1dbc4

4 files changed

Lines changed: 10 additions & 17 deletions

File tree

appendices/filters.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,7 @@ fwrite($fp, "This is a test.\n");
118118
second parameter of the <function>strip_tags</function> function,
119119
or as an array of tag names.
120120
</simpara>
121-
<para>
122-
&warn.deprecated.feature-7-3-0;
123-
</para>
121+
&warn.deprecated.feature-7-3-0;
124122
<example>
125123
<title>string.strip_tags</title>
126124
<programlisting role="php">
@@ -464,9 +462,7 @@ The compressed file is 1488 bytes long.
464462

465463
<section xml:id="filters.encryption.mcrypt">
466464
<title>mcrypt.* and mdecrypt.*</title>
467-
<para>
468-
&warn.deprecated.feature-7-1-0;
469-
</para>
465+
&warn.deprecated.feature-7-1-0;
470466

471467
<simpara>
472468
<literal>mcrypt.*</literal> and <literal>mdecrypt.*</literal>

language/types/null.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ $var = NULL;
3535
<sect2 xml:id="language.types.null.casting">
3636
<title>Casting to &null;</title>
3737

38-
<para>
39-
&warn.deprecated.feature-7-2-0.removed-8-0-0;
40-
</para>
38+
&warn.deprecated.feature-7-2-0.removed-8-0-0;
4139

4240
<para>
4341
Casting a variable to <type>null</type> using <literal>(unset) $var</literal>

reference/info/constants.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@
263263
<listitem>
264264
<para>
265265
Enable <function xmlns="http://docbook.org/ns/docbook">assert</function> evaluation.
266-
&warn.deprecated.feature-8-3-0;
267266
</para>
267+
&warn.deprecated.feature-8-3-0;
268268
</listitem>
269269
</varlistentry>
270270
<varlistentry xml:id="constant.assert-callback">
@@ -275,8 +275,8 @@
275275
<listitem>
276276
<para>
277277
Callback to call on failed assertions.
278-
&warn.deprecated.feature-8-3-0;
279278
</para>
279+
&warn.deprecated.feature-8-3-0;
280280
</listitem>
281281
</varlistentry>
282282
<varlistentry xml:id="constant.assert-bail">
@@ -287,8 +287,8 @@
287287
<listitem>
288288
<para>
289289
Terminate execution on failed assertions.
290-
&warn.deprecated.feature-8-3-0;
291290
</para>
291+
&warn.deprecated.feature-8-3-0;
292292
</listitem>
293293
</varlistentry>
294294
<varlistentry xml:id="constant.assert-exception">
@@ -299,8 +299,8 @@
299299
<listitem>
300300
<para>
301301
Throws an <classname>AssertionError</classname> for each failed assertion
302-
&warn.deprecated.feature-8-3-0;
303302
</para>
303+
&warn.deprecated.feature-8-3-0;
304304
</listitem>
305305
</varlistentry>
306306
<varlistentry xml:id="constant.assert-warning">
@@ -311,8 +311,8 @@
311311
<listitem>
312312
<para>
313313
Issues a PHP warning for each failed assertion
314-
&warn.deprecated.feature-8-3-0;
315314
</para>
315+
&warn.deprecated.feature-8-3-0;
316316
</listitem>
317317
</varlistentry>
318318
<varlistentry xml:id="constant.assert-quiet-eval">

reference/mbstring/overloading.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
Function Overloading Feature
77
</title>
88

9-
<para>
10-
&warn.deprecated.feature-7-2-0.removed-8-0-0;
11-
</para>
9+
&warn.deprecated.feature-7-2-0.removed-8-0-0;
10+
1211
<para>
1312
You might often find it difficult to get an existing PHP application
1413
to work in a given multibyte environment. This happens because most

0 commit comments

Comments
 (0)