Skip to content

Commit 901eba3

Browse files
authored
hash : sync EN, mention de E_WARNING dans le changelog (#2851)
Fixes #2848
1 parent dacf6bd commit 901eba3

3 files changed

Lines changed: 20 additions & 9 deletions

File tree

reference/hash/functions/hash-hmac-file.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 539a9823a805ac29cab7fa4baf3ae3a28116a2f5 Maintainer: jsgoupil Status: ready -->
2+
<!-- EN-Revision: df2a77acbbb9d381426b863fcfa4d66ac7f5ab6d Maintainer: lacatoire Status: ready -->
33
<!-- Reviewed: yes -->
44
<refentry xml:id="function.hash-hmac-file" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
@@ -104,8 +104,9 @@
104104
<entry>
105105
Lève une exception <classname>ValueError</classname> dorénavant si
106106
le paramètre <parameter>algo</parameter> est inconnu ou n'est pas
107-
une fonction de hachage cryptographique; précédemment, &false;
108-
était retourné à la place.
107+
une fonction de hachage cryptographique ; précédemment, &false;
108+
était retourné et un message <constant>E_WARNING</constant>
109+
était émis.
109110
</entry>
110111
</row>
111112
<row>

reference/hash/functions/hash-hmac.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 539a9823a805ac29cab7fa4baf3ae3a28116a2f5 Maintainer: yannick Status: ready -->
2+
<!-- EN-Revision: df2a77acbbb9d381426b863fcfa4d66ac7f5ab6d Maintainer: lacatoire Status: ready -->
33
<!-- Reviewed: yes -->
44
<refentry xml:id="function.hash-hmac" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
@@ -103,7 +103,8 @@
103103
<function>hash_hmac</function> lance désormais une exception
104104
<classname>ValueError</classname> si l'<parameter>algo</parameter>
105105
est inconnu ou n'est pas une fonction de hachage cryptographique ;
106-
auparavant, &false; était retourné à la place.
106+
auparavant, &false; était retourné et un message
107+
<constant>E_WARNING</constant> était émis.
107108
</entry>
108109
</row>
109110
<row>

reference/hash/functions/hash.xml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 539a9823a805ac29cab7fa4baf3ae3a28116a2f5 Maintainer: yannick Status: ready -->
2+
<!-- EN-Revision: df2a77acbbb9d381426b863fcfa4d66ac7f5ab6d Maintainer: lacatoire Status: ready -->
33
<!-- Reviewed: yes -->
44
<refentry xml:id="function.hash" xmlns="http://docbook.org/ns/docbook">
55
<refnamediv>
@@ -72,6 +72,14 @@
7272
</para>
7373
</refsect1>
7474

75+
<refsect1 role="errors">
76+
&reftitle.errors;
77+
<simpara>
78+
Lève une exception <exceptionname>ValueError</exceptionname> si
79+
le paramètre <parameter>algo</parameter> est inconnu.
80+
</simpara>
81+
</refsect1>
82+
7583
<refsect1 role="changelog">
7684
&reftitle.changelog;
7785
<para>
@@ -91,9 +99,10 @@
9199
<row>
92100
<entry>8.0.0</entry>
93101
<entry>
94-
<function>hash</function> lance désormais une exception
95-
<classname>ValueError</classname> si l'<parameter>algo</parameter>
96-
est inconnu ; auparavant, &false; était retourné à la place.
102+
Lève désormais une exception <exceptionname>ValueError</exceptionname>
103+
si l'<parameter>algo</parameter>
104+
est inconnu ; auparavant, &false; était retourné et un message
105+
<constant>E_WARNING</constant> était émis.
97106
</entry>
98107
</row>
99108
</tbody>

0 commit comments

Comments
 (0)