Skip to content

Commit dfd68fd

Browse files
authored
Fix incomplete and broken sentences, and use simpara for the touched inline paragraphs (#5583)
1 parent 2312f82 commit dfd68fd

50 files changed

Lines changed: 108 additions & 104 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

appendices/migration81/deprecated.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,14 @@ $arr[] = 2;
208208
<sect2 xml:id="migration81.deprecated.hash">
209209
<title>Hash</title>
210210

211-
<para>
211+
<simpara>
212212
The <function>mhash</function>,
213213
<function>mhash_keygen_s2k</function>,
214214
<function>mhash_count</function>,
215215
<function>mhash_get_block_size</function>,
216-
and <function>mhash_get_hash_name</function> have been deprecated.
216+
and <function>mhash_get_hash_name</function> functions have been deprecated.
217217
Use the <literal>hash_*()</literal> functions instead.
218-
</para>
218+
</simpara>
219219
</sect2>
220220

221221
<sect2 xml:id="migration81.deprecated.imap">

appendices/migration81/incompatible.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,12 @@ ArgumentCountError - makeyogurt(): Argument #1 ($container) not passed
287287
EC private keys will now be exported in <acronym>PKCS</acronym>#8 format rather than
288288
traditional format, just like all other keys.
289289
</para>
290-
<para>
290+
<simpara>
291291
<function>openssl_pkcs7_encrypt</function> and
292-
<function>openssl_cms_encrypt</function> will now to default using
292+
<function>openssl_cms_encrypt</function> will now default to using
293293
AES-128-CBC rather than RC2-40. The RC2-40 cipher is considered
294294
insecure and not enabled by default by OpenSSL 3.
295-
</para>
295+
</simpara>
296296
</sect2>
297297

298298
<sect2 xml:id="migration81.incompatible.pdo">

faq/build.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,13 @@
157157
</para>
158158
</question>
159159
<answer>
160-
<para>
161-
Some old versions of make that don't correctly put the compiled
160+
<simpara>
161+
Some old versions of make don't correctly put the compiled
162162
versions of the files in the functions directory into that same
163163
directory. Try running <command>cp *.o functions</command> and then
164164
re-running <command>make</command> to see if that helps. If it does, you should really
165165
upgrade to a recent version of GNU make.
166-
</para>
166+
</simpara>
167167
</answer>
168168
</qandaentry>
169169

install/unix/lighttpd-14.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fastcgi.server = ( ".php" =>
5151
</screen>
5252
</example>
5353

54-
<para>
54+
<simpara>
5555
The <filename>bin-path</filename> directive allows lighttpd to spawn FastCGI processes dynamically.
5656
PHP will spawn children according to the <envar>PHP_FCGI_CHILDREN</envar> environment
5757
variable. The <literal>bin-environment</literal> directive sets the environment for the
@@ -60,9 +60,9 @@ fastcgi.server = ( ".php" =>
6060
<literal>min-procs</literal> and <literal>max-procs</literal> should generally be avoided with PHP. PHP
6161
manages its own children and opcode caches like APC will only share among
6262
children managed by PHP. If <literal>min-procs</literal> is set to something greater than <literal>1</literal>,
63-
the total number of php responders will be multiplied <envar>PHP_FCGI_CHILDREN</envar>
63+
the total number of php responders will be multiplied by <envar>PHP_FCGI_CHILDREN</envar>
6464
(2 min-procs * 16 children gives 32 responders).
65-
</para>
65+
</simpara>
6666
</sect2>
6767

6868
<sect2 xml:id="install.unix.lighttpd-14.spawn-fcgi">

language/oop5/property-hooks.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ class PositivePoint extends Point
489489
<simpara>
490490
Each hook overrides parent implementations independently of each other.
491491
If a child class adds hooks, any default value set on the property is removed, and must be redeclared.
492-
That is the same consistent with how inheritance works on hook-less properties.
492+
That is consistent with how inheritance works on hook-less properties.
493493
</simpara>
494494
</sect3>
495495
<sect3>

language/types/type-system.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,17 +171,17 @@
171171

172172
<sect3 xml:id="language.types.type-system.composite.union">
173173
<title>Union types</title>
174-
<para>
174+
<simpara>
175175
A union type accepts values of multiple different types,
176176
rather than a single one.
177177
Individual types which form the union type are joined by the
178178
<literal>|</literal> symbol. Therefore, a union type comprised
179179
of the types <literal>T</literal>, <literal>U</literal>, and
180180
<literal>V</literal> will be written as <literal>T|U|V</literal>.
181181
If one of the types is an intersection type, it needs to be bracketed
182-
with parenthesis for it to written in <acronym>DNF</acronym>:
182+
with parenthesis for it to be written in <acronym>DNF</acronym>:
183183
<literal>T|(X&amp;Y)</literal>.
184-
</para>
184+
</simpara>
185185
</sect3>
186186
</sect2>
187187

reference/array/functions/array-all.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<listitem>
3737
<para>
3838
The callback function to call to check each element, which must be
39+
of the following signature:
3940
<methodsynopsis>
4041
<type>bool</type><methodname><replaceable>callback</replaceable></methodname>
4142
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>

reference/array/functions/array-any.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<listitem>
3737
<para>
3838
The callback function to call to check each element, which must be
39+
of the following signature:
3940
<methodsynopsis>
4041
<type>bool</type><methodname><replaceable>callback</replaceable></methodname>
4142
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>

reference/array/functions/array-find-key.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<listitem>
3737
<para>
3838
The callback function to call to check each element, which must be
39+
of the following signature:
3940
<methodsynopsis>
4041
<type>bool</type><methodname><replaceable>callback</replaceable></methodname>
4142
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>

reference/array/functions/array-find.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<listitem>
3737
<para>
3838
The callback function to call to check each element, which must be
39+
of the following signature:
3940
<methodsynopsis>
4041
<type>bool</type><methodname><replaceable>callback</replaceable></methodname>
4142
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>

0 commit comments

Comments
 (0)