Skip to content

Commit ce8cdff

Browse files
authored
[Sync EN] Add PHP 8.5.0 deprecation changelog entries (#5369) (#646)
1 parent a5b2384 commit ce8cdff

11 files changed

Lines changed: 246 additions & 11 deletions

File tree

reference/fileinfo/functions/finfo-buffer.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 82ddd2ec8ad195035dcb57dd8f97d27b83ddc126 Maintainer: PhilDaiguille Status: ready -->
2+
<!-- EN-Revision: e5c8e7add9291c70be2ecd046de6ecfd034545a9 Maintainer: PhilDaiguille Status: ready -->
33
<!-- Reviewed: no -->
44
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.finfo-buffer">
55
<refnamediv>
@@ -84,6 +84,13 @@
8484
</row>
8585
</thead>
8686
<tbody>
87+
<row>
88+
<entry>8.5.0</entry>
89+
<entry>
90+
El parámetro <parameter>context</parameter> ha quedado obsoleto
91+
puesto que es ignorado.
92+
</entry>
93+
</row>
8794
&fileinfo.changelog.finfo-object;
8895
<row>
8996
<entry>8.0.0</entry>

reference/reflection/reflectionclass/getconstant.xml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: ec2fe9a592f794978114ef5021db9f1d00c2e05d Maintainer: PhilDaiguille Status: ready -->
2+
<!-- EN-Revision: e5c8e7add9291c70be2ecd046de6ecfd034545a9 Maintainer: PhilDaiguille Status: ready -->
33
<!-- Reviewed: yes -->
44
<refentry xml:id="reflectionclass.getconstant" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -42,6 +42,29 @@
4242
</para>
4343
</refsect1>
4444

45+
<refsect1 role="changelog">
46+
&reftitle.changelog;
47+
<informaltable>
48+
<tgroup cols="2">
49+
<thead>
50+
<row>
51+
<entry>&Version;</entry>
52+
<entry>&Description;</entry>
53+
</row>
54+
</thead>
55+
<tbody>
56+
<row>
57+
<entry>8.5.0</entry>
58+
<entry>
59+
La llamada a <methodname>ReflectionClass::getConstant</methodname>
60+
para constantes que no existen ha quedado obsoleta.
61+
</entry>
62+
</row>
63+
</tbody>
64+
</tgroup>
65+
</informaltable>
66+
</refsect1>
67+
4568
<refsect1 role="examples">
4669
&reftitle.examples;
4770
<para>

reference/reflection/reflectionmethod/setaccessible.xml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: ce98b568f85353c4bf263133f09c4db9294833f9 Maintainer: PhilDaiguille Status: ready -->
2+
<!-- EN-Revision: e5c8e7add9291c70be2ecd046de6ecfd034545a9 Maintainer: PhilDaiguille Status: ready -->
33
<!-- Reviewed: yes Maintainer: Marqitos -->
44
<refentry xml:id="reflectionmethod.setaccessible" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -52,6 +52,35 @@
5252
</para>
5353
</refsect1>
5454

55+
<refsect1 role="changelog">
56+
&reftitle.changelog;
57+
<informaltable>
58+
<tgroup cols="2">
59+
<thead>
60+
<row>
61+
<entry>&Version;</entry>
62+
<entry>&Description;</entry>
63+
</row>
64+
</thead>
65+
<tbody>
66+
<row>
67+
<entry>8.5.0</entry>
68+
<entry>
69+
Este método ha quedado obsoleto, ya que no tiene efecto.
70+
</entry>
71+
</row>
72+
<row>
73+
<entry>8.1.0</entry>
74+
<entry>
75+
La llamada a este método no tiene ningún efecto; todos los métodos
76+
son invocables por defecto.
77+
</entry>
78+
</row>
79+
</tbody>
80+
</tgroup>
81+
</informaltable>
82+
</refsect1>
83+
5584
<refsect1 role="examples">
5685
&reftitle.examples;
5786
<example>

reference/reflection/reflectionproperty/getdefaultvalue.xml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 9f89eee340331eb13a38a95ea64f47dfe866d46e Maintainer: PhilDaiguille Status: ready -->
2+
<!-- EN-Revision: e5c8e7add9291c70be2ecd046de6ecfd034545a9 Maintainer: PhilDaiguille Status: ready -->
33
<!-- Reviewed: yes -->
44
<refentry xml:id="reflectionproperty.getdefaultvalue" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -33,6 +33,29 @@
3333
</para>
3434
</refsect1>
3535

36+
<refsect1 role="changelog">
37+
&reftitle.changelog;
38+
<informaltable>
39+
<tgroup cols="2">
40+
<thead>
41+
<row>
42+
<entry>&Version;</entry>
43+
<entry>&Description;</entry>
44+
</row>
45+
</thead>
46+
<tbody>
47+
<row>
48+
<entry>8.5.0</entry>
49+
<entry>
50+
La llamada a <methodname>ReflectionProperty::getDefaultValue</methodname>
51+
para propiedades sin valor por defecto ha quedado obsoleta.
52+
</entry>
53+
</row>
54+
</tbody>
55+
</tgroup>
56+
</informaltable>
57+
</refsect1>
58+
3659
<refsect1 role="examples">
3760
&reftitle.examples;
3861
<para>

reference/reflection/reflectionproperty/setaccessible.xml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: ce98b568f85353c4bf263133f09c4db9294833f9 Maintainer: PhilDaiguille Status: ready -->
2+
<!-- EN-Revision: e5c8e7add9291c70be2ecd046de6ecfd034545a9 Maintainer: PhilDaiguille Status: ready -->
33
<!-- Reviewed: yes Maintainer: Marqitos -->
44
<refentry xml:id="reflectionproperty.setaccessible" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -53,6 +53,35 @@
5353
</para>
5454
</refsect1>
5555

56+
<refsect1 role="changelog">
57+
&reftitle.changelog;
58+
<informaltable>
59+
<tgroup cols="2">
60+
<thead>
61+
<row>
62+
<entry>&Version;</entry>
63+
<entry>&Description;</entry>
64+
</row>
65+
</thead>
66+
<tbody>
67+
<row>
68+
<entry>8.5.0</entry>
69+
<entry>
70+
Este método ha quedado obsoleto, ya que no tiene efecto.
71+
</entry>
72+
</row>
73+
<row>
74+
<entry>8.1.0</entry>
75+
<entry>
76+
La llamada a este método no tiene ningún efecto; todas las propiedades
77+
son accesibles por omisión.
78+
</entry>
79+
</row>
80+
</tbody>
81+
</tgroup>
82+
</informaltable>
83+
</refsect1>
84+
5685
<refsect1 role="examples">
5786
&reftitle.examples;
5887
<example>

reference/spl/functions/spl-autoload-unregister.xml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 60809ebcf7d0c261b2f00e093e4fab70326ffc7b Maintainer: PhilDaiguille Status: ready -->
3+
<!-- EN-Revision: e5c8e7add9291c70be2ecd046de6ecfd034545a9 Maintainer: PhilDaiguille Status: ready -->
44
<!-- Reviewed: no -->
55
<refentry xml:id="function.spl-autoload-unregister" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -49,6 +49,32 @@
4949
</para>
5050
</refsect1>
5151

52+
<refsect1 role="changelog">
53+
&reftitle.changelog;
54+
<informaltable>
55+
<tgroup cols="2">
56+
<thead>
57+
<row>
58+
<entry>&Version;</entry>
59+
<entry>&Description;</entry>
60+
</row>
61+
</thead>
62+
<tbody>
63+
<row>
64+
<entry>8.5.0</entry>
65+
<entry>
66+
Pasar la función <function>spl_autoload_call</function> como
67+
argumento callback para desregistrar todos los autoloaders ha
68+
quedado obsoleto. En su lugar, iterar sobre el valor de retorno
69+
de <function>spl_autoload_functions</function> y llamar a
70+
<function>spl_autoload_unregister</function> para cada valor.
71+
</entry>
72+
</row>
73+
</tbody>
74+
</tgroup>
75+
</informaltable>
76+
</refsect1>
77+
5278
</refentry>
5379
<!-- Keep this comment at the end of the file
5480
Local variables:

reference/spl/splobjectstorage/attach.xml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: a0d62151102e4bf83e2bb4068782757d20ba086d Maintainer: Marqitos Status: ready -->
2+
<!-- EN-Revision: e5c8e7add9291c70be2ecd046de6ecfd034545a9 Maintainer: Marqitos Status: ready -->
33
<!-- Reviewed: no -->
44
<refentry xml:id="splobjectstorage.attach" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -59,6 +59,29 @@
5959
</para>
6060
</refsect1>
6161

62+
<refsect1 role="changelog">
63+
&reftitle.changelog;
64+
<informaltable>
65+
<tgroup cols="2">
66+
<thead>
67+
<row>
68+
<entry>&Version;</entry>
69+
<entry>&Description;</entry>
70+
</row>
71+
</thead>
72+
<tbody>
73+
<row>
74+
<entry>8.5.0</entry>
75+
<entry>
76+
Este método ha quedado obsoleto en favor de
77+
<methodname>SplObjectStorage::offsetSet</methodname>.
78+
</entry>
79+
</row>
80+
</tbody>
81+
</tgroup>
82+
</informaltable>
83+
</refsect1>
84+
6285
<refsect1 role="examples">
6386
&reftitle.examples;
6487
<para>

reference/spl/splobjectstorage/contains.xml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: ce98b568f85353c4bf263133f09c4db9294833f9 Maintainer: Marqitos Status: ready -->
2+
<!-- EN-Revision: e5c8e7add9291c70be2ecd046de6ecfd034545a9 Maintainer: Marqitos Status: ready -->
33
<!-- Reviewed: no -->
44
<refentry xml:id="splobjectstorage.contains" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -46,6 +46,29 @@
4646
</para>
4747
</refsect1>
4848

49+
<refsect1 role="changelog">
50+
&reftitle.changelog;
51+
<informaltable>
52+
<tgroup cols="2">
53+
<thead>
54+
<row>
55+
<entry>&Version;</entry>
56+
<entry>&Description;</entry>
57+
</row>
58+
</thead>
59+
<tbody>
60+
<row>
61+
<entry>8.5.0</entry>
62+
<entry>
63+
Este método ha quedado obsoleto en favor de
64+
<methodname>SplObjectStorage::offsetExists</methodname>.
65+
</entry>
66+
</row>
67+
</tbody>
68+
</tgroup>
69+
</informaltable>
70+
</refsect1>
71+
4972
<refsect1 role="examples">
5073
&reftitle.examples;
5174
<para>

reference/spl/splobjectstorage/detach.xml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: ce98b568f85353c4bf263133f09c4db9294833f9 Maintainer: Marqitos Status: ready -->
2+
<!-- EN-Revision: e5c8e7add9291c70be2ecd046de6ecfd034545a9 Maintainer: Marqitos Status: ready -->
33
<!-- Reviewed: no -->
44
<refentry xml:id="splobjectstorage.detach" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
55
<refnamediv>
@@ -46,6 +46,29 @@
4646
</para>
4747
</refsect1>
4848

49+
<refsect1 role="changelog">
50+
&reftitle.changelog;
51+
<informaltable>
52+
<tgroup cols="2">
53+
<thead>
54+
<row>
55+
<entry>&Version;</entry>
56+
<entry>&Description;</entry>
57+
</row>
58+
</thead>
59+
<tbody>
60+
<row>
61+
<entry>8.5.0</entry>
62+
<entry>
63+
Este método ha quedado obsoleto en favor de
64+
<methodname>SplObjectStorage::offsetUnset</methodname>.
65+
</entry>
66+
</row>
67+
</tbody>
68+
</tgroup>
69+
</informaltable>
70+
</refsect1>
71+
4972
<refsect1 role="examples">
5073
&reftitle.examples;
5174
<para>

reference/strings/functions/chr.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: 45042fef652f1b4e904e809fcbfcf31f6c60670b Maintainer: PhilDaiguille Status: ready -->
2+
<!-- EN-Revision: e5c8e7add9291c70be2ecd046de6ecfd034545a9 Maintainer: PhilDaiguille Status: ready -->
33
<!-- Reviewed: no -->
44
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.chr">
55
<refnamediv>
@@ -77,6 +77,13 @@ $bytevalue %= 256;
7777
</row>
7878
</thead>
7979
<tbody>
80+
<row>
81+
<entry>8.5.0</entry>
82+
<entry>
83+
Pasar enteros fuera del intervalo <literal>[0, 255]</literal>
84+
ha quedado obsoleto.
85+
</entry>
86+
</row>
8087
<row>
8188
<entry>7.4.0</entry>
8289
<entry>

0 commit comments

Comments
 (0)