Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XMLReader/XMLWriter sync with EN #1800

Merged
merged 1 commit into from
Nov 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reference/xmlreader/xmlreader/close.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: bad9acb50797346b072f9ff6addf05ee6c385570 Maintainer: yannick Status: ready -->
<!-- EN-Revision: b94d63fc0884d83ba43433ab33cc4810d955bf6d Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="xmlreader.close" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -31,7 +31,7 @@
<para>
<simplelist>
<member><methodname>XMLReader::open</methodname></member>
<member><methodname>XMLReader::xml</methodname></member>
<member><methodname>XMLReader::XML</methodname></member>
</simplelist>
</para>
</refsect1>
Expand Down
29 changes: 23 additions & 6 deletions reference/xmlreader/xmlreader/open.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 76875b513cc18a8f5db4a65f1ae51b6e6fb5374c Maintainer: yannick Status: ready -->
<!-- EN-Revision: ca220fb756e8dd45398fcef20c493cdedd67ecb5 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="xmlreader.open" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -68,10 +68,20 @@

<refsect1 role="errors">
&reftitle.errors;
<para>
This method may be called statically, but prior to PHP 8.0.0, will issue an
<constant>E_DEPRECATED</constant> error in this case.
</para>
<itemizedlist>
<listitem>
<simpara>
Passer une valeur invalide pour le <parameter>encoding</parameter> entraînera une
exception <exceptionname>ValueError</exceptionname>.
</simpara>
</listitem>
<listitem>
<simpara>
Cette méthode peut être appelée statiquement, mais, à partir de PHP 8.0.0,
cela génèrera une erreur <constant>E_DEPRECATED</constant> dans ce cas.
Comment on lines +80 to +81
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est "antérieur à PHP 8.0.0" pas à partir de.

</simpara>
</listitem>
</itemizedlist>
</refsect1>

<refsect1 role="changelog">
Expand All @@ -85,6 +95,13 @@
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
Passer une valeur invalide pour le <parameter>encoding</parameter> déclenchera désormais une
exception <exceptionname>ValueError</exceptionname>.
</entry>
</row>
<row>
<entry>8.0.0</entry>
<entry>
Expand All @@ -101,7 +118,7 @@
&reftitle.seealso;
<para>
<simplelist>
<member><methodname>XMLReader::xml</methodname></member>
<member><methodname>XMLReader::XML</methodname></member>
<member><methodname>XMLReader::close</methodname></member>
</simplelist>
</para>
Expand Down
4 changes: 2 additions & 2 deletions reference/xmlreader/xmlreader/setparserproperty.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4a742792da6fd1ba27acd118bfeeed326c8d9aaf Maintainer: yannick Status: ready -->
<!-- EN-Revision: b94d63fc0884d83ba43433ab33cc4810d955bf6d Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="xmlreader.setparserproperty" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand All @@ -16,7 +16,7 @@
<para>
Fixe des options pour l'analyseur. Les options doivent être
fixées après l'appel de <methodname>XMLReader::open</methodname> ou
<methodname>XMLReader::xml</methodname> et avant le premier appel de
<methodname>XMLReader::XML</methodname> et avant le premier appel de
<methodname>XMLReader::read</methodname>.
</para>
</refsect1>
Expand Down
27 changes: 22 additions & 5 deletions reference/xmlreader/xmlreader/xml.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 76875b513cc18a8f5db4a65f1ae51b6e6fb5374c Maintainer: yannick Status: ready -->
<!-- EN-Revision: ca220fb756e8dd45398fcef20c493cdedd67ecb5 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="xmlreader.xml" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -68,10 +68,20 @@

<refsect1 role="errors">
&reftitle.errors;
<para>
This method may be called statically, but prior to PHP 8.0.0, will issue an
<constant>E_DEPRECATED</constant> error in this case.
</para>
<itemizedlist>
<listitem>
<simpara>
Passer une valeur invalide pour le <parameter>encoding</parameter> entraînera une
exception <exceptionname>ValueError</exceptionname>.
</simpara>
</listitem>
<listitem>
<simpara>
Cette méthode peut être appelée statiquement, mais, avant PHP 8.0.0, cela
générera une erreur <constant>E_DEPRECATED</constant> dans ce cas.
</simpara>
</listitem>
</itemizedlist>
</refsect1>

<refsect1 role="changelog">
Expand All @@ -85,6 +95,13 @@
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
Passer une valeur invalide pour le <parameter>encoding</parameter> déclenche désormais une
exception <exceptionname>ValueError</exceptionname>.
</entry>
</row>
<row>
<entry>8.0.0</entry>
<entry>
Expand Down
17 changes: 16 additions & 1 deletion reference/xmlwriter/xmlwriter/startdocument.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 4a742792da6fd1ba27acd118bfeeed326c8d9aaf Maintainer: yannick Status: ready -->
<!-- EN-Revision: ca220fb756e8dd45398fcef20c493cdedd67ecb5 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="xmlwriter.startdocument" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -68,6 +68,14 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<simpara>
Passer un <parameter>encoding</parameter> contenant des octets nuls
déclenchera une exception <exceptionname>ValueError</exceptionname>.
</simpara>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -79,6 +87,13 @@
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
Passer un <parameter>encoding</parameter> contenant des octets nuls
déclenche désormais une exception <exceptionname>ValueError</exceptionname>.
</entry>
</row>
&xmlwriter.changelog.writer-param;
</tbody>
</tgroup>
Expand Down