svn: /phpdoc/en/trunk/reference/mcrypt/functions/ mcrypt-cbc.xml mcrypt-cfb.xml mcrypt-ecb.xml mcrypt-generic-end.xml mcrypt-ofb.xml
| From: | Adam Harvey | Date: | Fri, 08 Jan 2016 01:35:03 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mcrypt/functions/ mcrypt-cbc.xml mcrypt-cfb.xml mcrypt-ecb.xml mcrypt-generic-end.xml mcrypt-ofb.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13956@lists.php.net to get a copy of this message | ||
aharvey Fri, 08 Jan 2016 01:35:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338429
Log:
Improve removal warnings for mcrypt functions.
Changed paths:
U phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-cbc.xml
U phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-cfb.xml
U phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-ecb.xml
U phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-generic-end.xml
U phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-ofb.xml
Modified: phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-cbc.xml
===================================================================
--- phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-cbc.xml 2016-01-08 01:34:23 UTC (rev 338428)
+++ phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-cbc.xml 2016-01-08 01:35:03 UTC (rev 338429)
@@ -6,6 +6,16 @@
<refpurpose>Encrypts/decrypts data in CBC mode</refpurpose>
</refnamediv>
+ <refsynopsisdiv>
+ <warning>
+ &warn.deprecated.function.5-5-0.removed.7-0-0.alternatives;
+ <simplelist role="alternatives">
+ <member><function>mcrypt_decrypt</function></member>
+ <member><function>mcrypt_encrypt</function></member>
+ </simplelist>
+ </warning>
+ </refsynopsisdiv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -31,12 +41,6 @@
<constant>MCRYPT_ENCRYPT</constant> or
<constant>MCRYPT_DECRYPT</constant>.
</para>
- <para>
- This function should not be used anymore, see
- <function>mcrypt_encrypt</function> and
- <function>mcrypt_decrypt</function> for replacements.
- </para>
- &warn.deprecated.function-5-5-0.removed-7-0-0;
</refsect1>
</refentry>
Modified: phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-cfb.xml
===================================================================
--- phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-cfb.xml 2016-01-08 01:34:23 UTC (rev 338428)
+++ phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-cfb.xml 2016-01-08 01:35:03 UTC (rev 338429)
@@ -5,6 +5,16 @@
<refname>mcrypt_cfb</refname>
<refpurpose>Encrypts/decrypts data in CFB mode</refpurpose>
</refnamediv>
+
+ <refsynopsisdiv>
+ <warning>
+ &warn.deprecated.function.5-5-0.removed.7-0-0.alternatives;
+ <simplelist role="alternatives">
+ <member><function>mcrypt_decrypt</function></member>
+ <member><function>mcrypt_encrypt</function></member>
+ </simplelist>
+ </warning>
+ </refsynopsisdiv>
<refsect1 role="description">
&reftitle.description;
@@ -31,12 +41,6 @@
<constant>MCRYPT_ENCRYPT</constant> or
<constant>MCRYPT_DECRYPT</constant>.
</para>
- <para>
- This function should not be used anymore, see
- <function>mcrypt_encrypt</function> and
- <function>mcrypt_decrypt</function> for replacements.
- </para>
- &warn.deprecated.function-5-5-0.removed-7-0-0;
</refsect1>
</refentry>
Modified: phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-ecb.xml
===================================================================
--- phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-ecb.xml 2016-01-08 01:34:23 UTC (rev 338428)
+++ phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-ecb.xml 2016-01-08 01:35:03 UTC (rev 338429)
@@ -6,6 +6,16 @@
<refpurpose>Deprecated: Encrypts/decrypts data in ECB mode</refpurpose>
</refnamediv>
+ <refsynopsisdiv>
+ <warning>
+ &warn.deprecated.function.5-5-0.removed.7-0-0.alternatives;
+ <simplelist role="alternatives">
+ <member><function>mcrypt_decrypt</function></member>
+ <member><function>mcrypt_encrypt</function></member>
+ </simplelist>
+ </warning>
+ </refsynopsisdiv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -30,12 +40,6 @@
<constant>MCRYPT_ENCRYPT</constant> or
<constant>MCRYPT_DECRYPT</constant>.
</para>
- <para>
- This function is deprecated and should not be used anymore, see
- <function>mcrypt_encrypt</function> and
- <function>mcrypt_decrypt</function> for replacements.
- </para>
- &warn.deprecated.function-5-5-0.removed-7-0-0;
</refsect1>
</refentry>
Modified: phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-generic-end.xml
===================================================================
--- phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-generic-end.xml 2016-01-08 01:34:23 UTC (rev
338428)
+++ phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-generic-end.xml 2016-01-08 01:35:03 UTC (rev
338429)
@@ -6,13 +6,21 @@
<refpurpose>This function terminates encryption</refpurpose>
</refnamediv>
+ <refsynopsisdiv>
+ <warning>
+ &warn.deprecated.function.5-3-0.removed.7-0-0.alternatives;
+ <simplelist role="alternatives">
+ <member><function>mcrypt_generic_deinit</function></member>
+ </simplelist>
+ </warning>
+ </refsynopsisdiv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>mcrypt_generic_end</methodname>
<methodparam><type>resource</type><parameter>td</parameter></methodparam>
</methodsynopsis>
- &warn.deprecated.alias-5-3-0.removed-7-0-0;
<para>
<warning>
<para>
Modified: phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-ofb.xml
===================================================================
--- phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-ofb.xml 2016-01-08 01:34:23 UTC (rev 338428)
+++ phpdoc/en/trunk/reference/mcrypt/functions/mcrypt-ofb.xml 2016-01-08 01:35:03 UTC (rev 338429)
@@ -6,6 +6,16 @@
<refpurpose>Encrypts/decrypts data in OFB mode</refpurpose>
</refnamediv>
+ <refsynopsisdiv>
+ <warning>
+ &warn.deprecated.function.5-5-0.removed.7-0-0.alternatives;
+ <simplelist role="alternatives">
+ <member><function>mcrypt_decrypt</function></member>
+ <member><function>mcrypt_encrypt</function></member>
+ </simplelist>
+ </warning>
+ </refsynopsisdiv>
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -31,12 +41,6 @@
<constant>MCRYPT_ENCRYPT</constant> or
<constant>MCRYPT_DECRYPT</constant>.
</para>
- <para>
- This function should not be used anymore, see
- <function>mcrypt_encrypt</function> and
- <function>mcrypt_decrypt</function> for replacements.
- </para>
- &warn.deprecated.function-5-5-0.removed-7-0-0;
</refsect1>
</refentry>