com doc/fr: Update deprecated/removed entities: language-snippets.ent reference/exif/functions/read-exif-data.xml reference/image/functions/image2wbmp.xml reference/image/functions/jpeg2wbmp.xml reference/image/functions/png2wbmp.xml
[email protected] (George Peter Banyard) Tue, 26 Jan 2021 18:49:20 +0000
| Newsgroups | php.doc.fr |
|---|---|
| Message-ID | <[email protected]> |
Commit: 3ed05ebf0c6af9bc99fcb1d9c3243c4e25107ae6 Author: George Peter Banyard <[email protected]> Tue, 26 Jan 2021 18:49:20 +0000 Parents: 484a7b431275b145c9e7133a1caebef0f43cb1d4 Branches: master Link: http://git.php.net/?p=doc/fr.git;a=commitdiff;h=3ed05ebf0c6af9bc99fcb1d9c3243c4e25107ae6 Log: Update deprecated/removed entities Changed paths: M language-snippets.ent M reference/exif/functions/read-exif-data.xml M reference/image/functions/image2wbmp.xml M reference/image/functions/jpeg2wbmp.xml M reference/image/functions/png2wbmp.xml Diff: diff --git a/language-snippets.ent b/language-snippets.ent index 2be169c50a..f9dfa36e06 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 5e6356373cdbfcefcbecddf3cfd7e61a2159153e Maintainer: yannick Status: ready --> +<!-- EN-Revision: 227c9c797eb2ea920aa9b3fb8d46ef3ecec860ae Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <!-- Relecture des Notes, Précautions, Avertissements, Astuces, Divers et Retour le 2018-12-29 par girgias --> @@ -298,6 +298,13 @@ de nombres aléatoires est initialisé automatiquement.</entry></row>'> Dépendre de cette fonction est fortement déconseillé. </simpara></warning>'> +<!ENTITY warn.deprecated.function-7-3-0.removed-8-0-0 '<warning +xmlns="http://docbook.org/ns/docbook"><simpara> + Cette fonction est <emphasis>OBSOLÈTE</emphasis> à partir de PHP 7.3.0, + et a été <emphasis>SUPPRIMÉE</emphasis> à partir de PHP 8.0.0. + Dépendre de cette fonction est fortement déconseillé. +</simpara></warning>'> + <!ENTITY warn.deprecated.feature-7-4-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara> Cette fonctionnalité est <emphasis>OBSOLÈTE</emphasis> à partir de PHP 7.4.0. Dépendre de cette fonctionnalité est fortement déconseillé. @@ -390,6 +397,9 @@ xmlns="http://docbook.org/ns/docbook"><simpara> Cette fonction est a été <emphasis>SUPPRIMÉE</emphasis> à partir de PHP 7.4.0. </simpara></warning>'> +<!ENTITY warn.deprecated.alias-7-2-0.removed-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>Cet alias est +<emphasis>OBSOLÈTE</emphasis> en PHP 7.2.0, et <emphasis>SUPPRIMÉ</emphasis> à partir de PHP 8.0.0.</simpara></warning>'> + <!ENTITY warn.deprecated.alias-7-4-0.removed-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>Cet alias est <emphasis>OBSOLÈTE</emphasis> en PHP 7.4.0, et <emphasis>SUPPRIMÉ</emphasis> à partir de PHP 8.0.0.</simpara></warning>'> diff --git a/reference/exif/functions/read-exif-data.xml b/reference/exif/functions/read-exif-data.xml index a9cfead824..1287dcd6d3 100644 --- a/reference/exif/functions/read-exif-data.xml +++ b/reference/exif/functions/read-exif-data.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 6c18adbd81e7b60d1ee2c703ba48d9a73a215185 Maintainer: dams Status: ready --> +<!-- EN-Revision: 227c9c797eb2ea920aa9b3fb8d46ef3ecec860ae Maintainer: dams Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.read-exif-data" xmlns="http://docbook.org/ns/docbook"> @@ -8,7 +8,11 @@ <refname>read_exif_data</refname> <refpurpose>&Alias; <function>exif_read_data</function></refpurpose> </refnamediv> - + + <refsynopsisdiv> + &warn.deprecated.alias-7-2-0.removed-8-0-0; + </refsynopsisdiv> + <refsect1 role="description"> &reftitle.description; <simpara> diff --git a/reference/image/functions/image2wbmp.xml b/reference/image/functions/image2wbmp.xml index 1c9484e4f4..b003980aa7 100644 --- a/reference/image/functions/image2wbmp.xml +++ b/reference/image/functions/image2wbmp.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: f85d380904ca6cfcc5d71d5efe44d6a4a673e2b1 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 4e32d05f7498f3c914f3ec4ed7e041d3d3fca829 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.image2wbmp" xmlns="http://docbook.org/ns/docbook"> @@ -10,13 +10,7 @@ </refnamediv> <refsynopsisdiv> - <warning> - <para> - <function>image2wbmp</function> est obsolète à partir de PHP 7.3.0, et sera - supprimer dans la prochaine version majeure. Utilisez <function>imagewbmp</function> - à la place. - </para> - </warning> + &warn.deprecated.function-7-3-0.removed-8-0-0; </refsynopsisdiv> <refsect1 role="description"> diff --git a/reference/image/functions/jpeg2wbmp.xml b/reference/image/functions/jpeg2wbmp.xml index f949777382..8f0a21de4f 100644 --- a/reference/image/functions/jpeg2wbmp.xml +++ b/reference/image/functions/jpeg2wbmp.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: f85d380904ca6cfcc5d71d5efe44d6a4a673e2b1 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 4e32d05f7498f3c914f3ec4ed7e041d3d3fca829 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.jpeg2wbmp" xmlns="http://docbook.org/ns/docbook"> @@ -10,13 +10,7 @@ </refnamediv> <refsynopsisdiv> - <warning> - <para> - <function>jpeg2wbmp</function> est devenu obsolète depuis PHP 7.2.0, - et sera supprimé en PHP 8.0.0. Utilisez la fonction <function>imagecreatefromjpeg</function> - et la fonction <function>imagewbmp</function> à la place. - </para> - </warning> + &warn.deprecated.function-7-2-0.removed-8-0-0; </refsynopsisdiv> <refsect1 role="description"> diff --git a/reference/image/functions/png2wbmp.xml b/reference/image/functions/png2wbmp.xml index cc78f51d2c..a0cf2896b4 100644 --- a/reference/image/functions/png2wbmp.xml +++ b/reference/image/functions/png2wbmp.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: f85d380904ca6cfcc5d71d5efe44d6a4a673e2b1 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 4e32d05f7498f3c914f3ec4ed7e041d3d3fca829 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.png2wbmp" xmlns="http://docbook.org/ns/docbook"> @@ -10,13 +10,7 @@ </refnamediv> <refsynopsisdiv> - <warning> - <para> - <function>png2wbmp</function> est devenu obsolète depuis PHP 7.2.0, et sera - supprimé en PHP 8.0.0. Utilisez les fonctions <function>imagecreatefrompng</function> - et <function>imagewbmp</function> à la place. - </para> - </warning> + &warn.deprecated.function-7-2-0.removed-8-0-0; </refsynopsisdiv> <refsect1 role="description">