Skip to content

Commit f80105b

Browse files
haszihaszi
andauthored
Remove constant tag from literal values (#3251)
* Remove constant tag from literal values * [skip-revcheck] Fix whitespace --------- Co-authored-by: haszi <haszika80@gmail.com>
1 parent 9f351a1 commit f80105b

40 files changed

Lines changed: 117 additions & 117 deletions

‎appendices/filters.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ fclose($fp);
302302
<parameter>window</parameter> is the base-2 log of the compression loopback window size.
303303
Higher values (up to 15 -- 32768 bytes) yield better compression at a cost of memory,
304304
while lower values (down to 9 -- 512 bytes) yield worse compression in a smaller memory footprint.
305-
Default <parameter>window</parameter> size is currently <constant>15</constant>.
305+
Default <parameter>window</parameter> size is currently <literal>15</literal>.
306306

307307
<parameter>memory</parameter> is a scale indicating how much work memory should be allocated.
308308
Valid values range from 1 (minimal allocation) to 9 (maximum allocation). This memory allocation

‎install/fpm/configuration.xml‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -805,109 +805,109 @@
805805
<tbody>
806806
<row>
807807
<entry>
808-
<constant>%C</constant>
808+
<literal>%C</literal>
809809
</entry>
810810
<entry>%CPU</entry>
811811
</row>
812812
<row>
813813
<entry>
814-
<constant>%d</constant>
814+
<literal>%d</literal>
815815
</entry>
816816
<entry>duration µs</entry>
817817
</row>
818818
<row>
819819
<entry>
820-
<constant>%e</constant>
820+
<literal>%e</literal>
821821
</entry>
822822
<entry>fastcgi env</entry>
823823
</row>
824824
<row>
825825
<entry>
826-
<constant>%f</constant>
826+
<literal>%f</literal>
827827
</entry>
828828
<entry>script</entry>
829829
</row>
830830
<row>
831831
<entry>
832-
<constant>%l</constant>
832+
<literal>%l</literal>
833833
</entry>
834834
<entry>content length</entry>
835835
</row>
836836
<row>
837837
<entry>
838-
<constant>%m</constant>
838+
<literal>%m</literal>
839839
</entry>
840840
<entry>method</entry>
841841
</row>
842842
<row>
843843
<entry>
844-
<constant>%M</constant>
844+
<literal>%M</literal>
845845
</entry>
846846
<entry>memory</entry>
847847
</row>
848848
<row>
849849
<entry>
850-
<constant>%n</constant>
850+
<literal>%n</literal>
851851
</entry>
852852
<entry>pool name</entry>
853853
</row>
854854
<row>
855855
<entry>
856-
<constant>%o</constant>
856+
<literal>%o</literal>
857857
</entry>
858858
<entry>header output</entry>
859859
</row>
860860
<row>
861861
<entry>
862-
<constant>%p</constant>
862+
<literal>%p</literal>
863863
</entry>
864864
<entry>PID</entry>
865865
</row>
866866
<row>
867867
<entry>
868-
<constant>%q</constant>
868+
<literal>%q</literal>
869869
</entry>
870870
<entry>query string</entry>
871871
</row>
872872
<row>
873873
<entry>
874-
<constant>%Q</constant>
874+
<literal>%Q</literal>
875875
</entry>
876876
<entry>the glue between %q and %r</entry>
877877
</row>
878878
<row>
879879
<entry>
880-
<constant>%r</constant>
880+
<literal>%r</literal>
881881
</entry>
882882
<entry>request URI</entry>
883883
</row>
884884
<row>
885885
<entry>
886-
<constant>%R</constant>
886+
<literal>%R</literal>
887887
</entry>
888888
<entry>remote IP address</entry>
889889
</row>
890890
<row>
891891
<entry>
892-
<constant>%s</constant>
892+
<literal>%s</literal>
893893
</entry>
894894
<entry>status</entry>
895895
</row>
896896
<row>
897897
<entry>
898-
<constant>%T</constant>
898+
<literal>%T</literal>
899899
</entry>
900900
<entry>time</entry>
901901
</row>
902902
<row>
903903
<entry>
904-
<constant>%t</constant>
904+
<literal>%t</literal>
905905
</entry>
906906
<entry>time</entry>
907907
</row>
908908
<row>
909909
<entry>
910-
<constant>%u</constant>
910+
<literal>%u</literal>
911911
</entry>
912912
<entry>remote user</entry>
913913
</row>

‎reference/cubrid/cubridmysql/cubrid-real-escape-string.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</methodsynopsis>
1717
<para>
1818
This function returns the escaped string version of the given string. It
19-
will escape the following characters: <constant>'</constant>.
19+
will escape the following characters: <literal>'</literal>.
2020

2121
In general, single quotations are used to enclose character string. Double
2222
quotations may be used as well depending on the value of ansi_quotes,

‎reference/dom/domattr.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@
120120
<note>
121121
<para>
122122
Note, XML entities are expanded upon setting a value.
123-
Thus the <constant>&amp;</constant> character has a special meaning.
124-
Setting <varname>value</varname> to itself will fail when <varname>value</varname> contains an <constant>&amp;</constant>.
123+
Thus the <literal>&amp;</literal> character has a special meaning.
124+
Setting <varname>value</varname> to itself will fail when <varname>value</varname> contains an <literal>&amp;</literal>.
125125
To avoid entity expansion, use <methodname>DOMElement::setAttribute</methodname> instead.
126126
</para>
127127
</note>

‎reference/eio/functions/eio-chmod.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<term><parameter>mode</parameter></term>
4444
<listitem>
4545
<para>
46-
The new permissions. E.g. <constant>0644</constant>.
46+
The new permissions. E.g. <literal>0644</literal>.
4747
</para>
4848
</listitem>
4949
</varlistentry>

‎reference/eio/functions/eio-poll.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
&reftitle.returnvalues;
3333
<para>
3434
If any request invocation returns a non-zero value, returns that value.
35-
Otherwise, it returns <constant>0</constant>.
35+
Otherwise, it returns <literal>0</literal>.
3636
</para>
3737
</refsect1>
3838

‎reference/ev/ev/depth.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
was exited normally, in other words, the recursion depth. Outside
2424
<methodname>Ev::run</methodname>
2525
, this number is
26-
<constant>0</constant>
26+
<literal>0</literal>
2727
. In a callback, this number is
28-
<constant>1</constant>
28+
<literal>1</literal>
2929
, unless
3030
<methodname>Ev::run</methodname>
3131
was invoked recursively (or from another thread), in which case it is

‎reference/ev/ev/run.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<tbody>
6464
<row>
6565
<entry>
66-
<constant>0</constant>
66+
<literal>0</literal>
6767
</entry>
6868
<entry>The default behavior described above</entry>
6969
</row>

‎reference/ev/evchild.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
<para>
8484
<emphasis>Readonly</emphasis>
8585
. The process ID this watcher watches out for, or
86-
<constant>0</constant>
86+
<literal>0</literal>
8787
, meaning any process ID.
8888
</para>
8989
</listitem>

‎reference/ev/evchild/construct.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
if
4949
<parameter>pid</parameter>
5050
is
51-
<constant>0</constant>
51+
<literal>0</literal>
5252
) has been received(a status change happens when the process terminates or
5353
is killed, or, when
5454
<parameter>trace</parameter>
@@ -105,7 +105,7 @@
105105
<para>
106106
Wait for status changes of process PID(or any process if PID is
107107
specified as
108-
<constant>0</constant>
108+
<literal>0</literal>
109109
).
110110
</para>
111111
</listitem>

0 commit comments

Comments
 (0)