com doc/ja: replaced deprecation warnings in image deleted functions as of PHP 8.0.0.: language-snippets.ent reference/image/functions/image2wbmp.xml
reference/image/functions/jpeg2wbmp.xml reference/image/functions/png2wbmp.xml
| From: | Yoshinari Takaoka | Date: | Wed, 27 Jan 2021 12:59:19 +0000 |
| Subject: | com doc/ja: replaced deprecation warnings in image deleted functions as of PHP 8.0.0.: language-snippets.ent reference/image/functions/image2wbmp.xml reference/image/functions/jpeg2wbmp.xml reference/image/functions/png2wbmp.xml |
||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-6124@lists.php.net to get a copy of this message | ||
Commit: e2e489a285edda07574dd869c5378149d0e556f0
Author: Yoshinari Takaoka <mumumu@mumumu.org> Wed, 27 Jan 2021 21:59:19 +0900
Parents: 8aef208dbeca4ed2fef40efa37a41e5981f356e9
Branches: master
Link: http://git.php.net/?p=doc/ja.git;a=commitdiff;h=e2e489a285edda07574dd869c5378149d0e556f0
Log:
replaced deprecation warnings in image deleted functions as of PHP 8.0.0.
Changed paths:
M language-snippets.ent
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 b319f74d64..c3a78c9d67 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: takagi Status: working
-->
+<!-- EN-Revision: 4e32d05f7498f3c914f3ec4ed7e041d3d3fca829 Maintainer: takagi Status: working
-->
<!-- Credits: hirokawa,haruki,shimooka,mumumu -->
<!ENTITY installation.enabled.disable
'この拡張モジュールはデフォルトで有効になっています。無効にしたい場合は、次のオプションを指定してコンパイルします。'>
@@ -254,6 +254,11 @@ xmlns="http://docbook.org/ns/docbook"><simpara>この機能は
PHP 7.3.0 で
xmlns="http://docbook.org/ns/docbook"><simpara>この関数は
PHP 7.3.0 で
<emphasis>非推奨</emphasis>になります。この関数に頼らないことを強く推奨します。</simpara></warning>'>
+<!ENTITY warn.deprecated.function-7-3-0.removed-8-0-0 '<warning
+xmlns="http://docbook.org/ns/docbook"><simpara>この関数は
PHP 7.3.0 で
+<emphasis>非推奨</emphasis> になり、PHP 8.0.0 で
<emphasis>削除</emphasis>
+されました。この関数に頼らないことを強く推奨します。</simpara></warning>'>
+
<!ENTITY warn.deprecated.feature-7-4-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>この機能は
PHP 7.4.0 で
<emphasis>非推奨</emphasis>になります。この機能に頼らないことを強く推奨します。</simpara></warning>'>
diff --git a/reference/image/functions/image2wbmp.xml b/reference/image/functions/image2wbmp.xml
index d41e788c25...ee4a8dae69 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: hirokawa Status: ready
-->
+<!-- EN-Revision: 4e32d05f7498f3c914f3ec4ed7e041d3d3fca829 Maintainer: hirokawa Status: ready
-->
<!-- CREDITS: shimooka,mumumu -->
<refentry xml:id="function.image2wbmp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -9,13 +9,7 @@
</refnamediv>
<refsynopsisdiv>
- <warning>
- <para>
- <function>image2wbmp</function> 関数は、PHP 7.3.0
以降では非推奨になり、
- 次のメジャーバージョンアップで削除される予定です。
- 代わりに <function>imagewbmp</function> 関数を使ってください。
- </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 adeadfdbb5..09faf0f2e3 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: mumumu Status: ready
-->
+<!-- EN-Revision: 4e32d05f7498f3c914f3ec4ed7e041d3d3fca829 Maintainer: mumumu Status: ready
-->
<refentry xml:id="function.jpeg2wbmp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>jpeg2wbmp</refname>
@@ -8,13 +8,7 @@
</refnamediv>
<refsynopsisdiv>
- <warning>
- <para>
- <function>jpeg2wbmp</function> 関数は PHP 7.2.0
以降では推奨されなくなり、
- PHP 8.0.0
以降では削除される予定です。<function>imagecreatefromjpeg</function> と
- <function>imagewbmp</function> を代わりに使ってください。
- </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 84378b7d7c..022334ae44 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: mumumu Status: ready
-->
+<!-- EN-Revision: 4e32d05f7498f3c914f3ec4ed7e041d3d3fca829 Maintainer: mumumu Status: ready
-->
<refentry xml:id="function.png2wbmp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>png2wbmp</refname>
@@ -8,13 +8,7 @@
</refnamediv>
<refsynopsisdiv>
- <warning>
- <para>
- <function>png2wbmp</function> 関数は PHP 7.2.0
以降では推奨されなくなり、
- PHP 8.0.0
以降では削除される予定です。<function>imagecreatefrompng</function> と
- <function>imagewbmp</function> を代わりに使ってください。
- </para>
- </warning>
+ &warn.deprecated.function-7-2-0.removed-8-0-0;
</refsynopsisdiv>
<refsect1 role="description">