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

Start of migration guide translation fetched from edit.php.net made by David #1

Closed
wants to merge 1 commit into from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Dec 30, 2020

No description provided.


<sect1 phd:chunk="false" xml:id="migration80.intro">
<para>
Cette nouvelle version majeur arrive avec de nombreuses
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Cette nouvelle version majeur arrive avec de nombreuses
Cette nouvelle version majeure arrive avec de nombreuses

Cette nouvelle version majeur arrive avec de nombreuses
<link linkend="migration80.new-features">nouvelles fonctionnalités</link> et
<link linkend="migration80.incompatible">quelques incompatibilités</link>
qui devraient être testées avant de changer de version sur des environnements de productions.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
qui devraient être testées avant de changer de version sur des environnements de productions.
qui devraient être testées avant de changer de version sur des environnements de production.

<!-- CREDITS: Dannebicque -->

<sect1 xml:id="migration80.incompatible" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Changements incompatible avec les versions précédentes</title>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<title>Changements incompatible avec les versions précédentes</title>
<title>Changements incompatibles avec les versions précédentes</title>


<para>
Les comparaisons non strictes entre les nombres et les chaînes non numériques fonctionnent désormais en
convertissant le nombre en string et en comparant les chaînes. Les comparaisons entre les nombres et les
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
convertissant le nombre en string et en comparant les chaînes. Les comparaisons entre les nombres et les
convertissant le nombre en chaîne et en comparant les chaînes. Les comparaisons entre les nombres et les

<listitem>
<para>
La directive <link linkend="ini.track-errors">track_errors</link> a été retirée.
Cela signifie que <varname>php_errormsg</varname> n'estplus disponible. La fonction
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Cela signifie que <varname>php_errormsg</varname> n'estplus disponible. La fonction
Cela signifie que <varname>php_errormsg</varname> n'est plus disponible. La fonction

<listitem>
<para>
La possibilité de définir des constantes insensibles à la casse a été supprimée.
Le troisième argument de <function>define</function> peut ne plus être &true;.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Le troisième argument de <function>define</function> peut ne plus être &true;.
Le troisième argument de <function>define</function> ne peut plus être &true;.

</listitem>
<listitem>
<para>
<function>create_function</function>a été retiré. Les fonctions anonymes peuvent être
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<function>create_function</function>a été retiré. Les fonctions anonymes peuvent être
<function>create_function</function>a été retirée. Les fonctions anonymes peuvent être

</listitem>
<listitem>
<para>
<function>each</function> a été retiré. &foreach; ou <classname>ArrayIterator</classname>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<function>each</function> a été retiré. &foreach; ou <classname>ArrayIterator</classname>
<function>each</function> a été retirée. &foreach; ou <classname>ArrayIterator</classname>

<listitem>
<para>
<function>each</function> a été retiré. &foreach; ou <classname>ArrayIterator</classname>
doit être utilisé à la place.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
doit être utilisé à la place.
doivent être utilisées à la place.

<listitem>
<para>
La possibilité de dissocier <varname>this</varname> des fermetures appropriées qui contiennent
des utilisations de <varname>this</varname> a également été retiré.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
des utilisations de <varname>this</varname> a également été retiré.
des utilisations de <varname>this</varname> a également été retirée.

</listitem>
<listitem>
<para>
La possibilité d'utiliser <function>array_key_exists</function> avec des objets a été retiré.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
La possibilité d'utiliser <function>array_key_exists</function> avec des objets a été retiré.
La possibilité d'utiliser <function>array_key_exists</function> avec des objets a été retirée.

<listitem>
<para>
La possibilité d'utiliser <function>array_key_exists</function> avec des objets a été retiré.
<function>isset</function> ou <function>property_exists</function> peuvent être utilisés à la place.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<function>isset</function> ou <function>property_exists</function> peuvent être utilisés à la place.
<function>isset</function> ou <function>property_exists</function> peuvent être utilisées à la place.

</listitem>
<listitem>
<para>
Le niveau par défait de error_reporting est maintenant <constant>E_ALL</constant>. Précédemment il excluait
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Le niveau par défait de error_reporting est maintenant <constant>E_ALL</constant>. Précédemment il excluait
Le niveau par défaut de error_reporting est maintenant <constant>E_ALL</constant>. Précédemment il excluait

</listitem>
<listitem>
<para>
Utiliser <type>parent</type> à l'intérieur d'une classe qui n'a pas de parent, va provoquer un erreur
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Utiliser <type>parent</type> à l'intérieur d'une classe qui n'a pas de parent, va provoquer un erreur
Utiliser <type>parent</type> à l'intérieur d'une classe qui n'a pas de parent va provoquer un erreur

<listitem>
<para>
Utiliser <type>parent</type> à l'intérieur d'une classe qui n'a pas de parent, va provoquer un erreur
fatale de compiltation.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
fatale de compiltation.
fatale de compilation.

</listitem>
<listitem>
<para>
L'opérateur <literal>@</literal> ne metrta plus les erreurs fatales en silence.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
L'opérateur <literal>@</literal> ne metrta plus les erreurs fatales en silence.
L'opérateur <literal>@</literal> ne mettra plus les erreurs fatales en silence.

Copy link
Contributor

Choose a reason for hiding this comment

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

Peut-être que ne réduira plus [...] au silence fait plus de sens. Après, je ne sais pas s'il y a un standard pour ça dans la documentation.

L'opérateur <literal>@</literal> ne metrta plus les erreurs fatales en silence.
(<constant>E_ERROR</constant>, <constant>E_CORE_ERROR</constant>,
<constant>E_COMPILE_ERROR</constant>, <constant>E_USER_ERROR</constant>,
<constant>E_RECOVERABLE_ERROR</constant>, <constant>E_PARSE</constant>). Le gestionnaires d'erreurs
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<constant>E_RECOVERABLE_ERROR</constant>, <constant>E_PARSE</constant>). Le gestionnaires d'erreurs
<constant>E_RECOVERABLE_ERROR</constant>, <constant>E_PARSE</constant>). Le gestionnaire d'erreurs

</member>
<member>
Tentative d'ajout d'un élément à un tableau pour lequel la clé PHP_INT_MAX
est déjà utilisé.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
est déjà utilisé.
est déjà utilisée.

offset de chaîne.
</member>
<member>Tentative d'écriture dans un index de tableau d'une valeur scalaire.</member>
<member>Tentative de depaquetage d'un array/Traversable.</member>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<member>Tentative de depaquetage d'un array/Traversable.</member>
<member>Tentative de dépaquetage d'un array/Traversable.</member>

<listitem>
<para>
L'erreur fatale à la compilation "Only variables can be passed by reference" a été retardée jusqu'à
l'éxécution, et converti en une exception "Argument cannot be passed by reference"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
l'éxécution, et converti en une exception "Argument cannot be passed by reference"
l'exécution, et convertie en une exception "Argument cannot be passed by reference"

Copy link
Contributor

Choose a reason for hiding this comment

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

exception de type <classname>Error</classname>

En anglais: "Argument cannot be passed by reference" Error exception.

</listitem>
<listitem>
<para>
Certaines notices "Only variables should be passed by reference" ont été convertis en exception "Argument
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Certaines notices "Only variables should be passed by reference" ont été convertis en exception "Argument
Certaines notices "Only variables should be passed by reference" ont été converties en exception "Argument

<listitem>
<para>
Les références de méthode de trait non absolues dans les adaptations d'alias de trait doivent maintenant être
non ambigu:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
non ambigu:
non ambigües:

Le comportement de <function>array_key_exists</function> concernant le type du paramètre
<parameter>key</parameter> a été rendu cohérent avec <function>isset</function> et
un accès normal au tableau. Tous les types de clés utilisent maintenant les coercitions habituelles
et les clés de tableau/objet lancent un <classname>TypeError</classname>.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
et les clés de tableau/objet lancent un <classname>TypeError</classname>.
et les clés de tableau/objet lancent une <classname>TypeError</classname>.

<literal>|</literal>, <literal>^</literal>, <literal>~</literal>, <literal>++</literal>,
<literal>--</literal> vont maintenant lever une <classname>TypeError</classname> quand l'une des
opérandes est un &array;, &resource; ou un &object; non surchargé. La seule exception à cette
règle est l'opération de fusuon de tableau <literal>+</literal> qui reste prise en charge.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
règle est l'opération de fusuon de tableau <literal>+</literal> qui reste prise en charge.
règle est l'opération de fusion de tableau <literal>+</literal> qui reste prise en charge.

<listitem>
<para>
Si un constructeur d'objet <function>exit</function>s, le destructeur d'objet ne sera plus appelé.
Cela correspond au comportement lorsque le constructeur est déclenché.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Cela correspond au comportement lorsque le constructeur est déclenché.
Cela correspond au comportement lorsque le constructeur lève une exception.

</listitem>
<listitem>
<para>
Si un constructeur d'objet <function>exit</function>s, le destructeur d'objet ne sera plus appelé.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Si un constructeur d'objet <function>exit</function>s, le destructeur d'objet ne sera plus appelé.
Si un constructeur d'objet invoque <function>exit</function>, le destructeur d'objet ne sera plus appelé.

Les espaces de noms ne peuvent plus contenir d'espaces blancs: bien que <code>Foo\Bar</code> soit
reconnu comme un espace de nom , <code>Foo \ Bar</code> ne le sera plus. Inversement, les mots-clés
réservés sont désormais autorisés en tant que segments d'espace de noms, ce qui peut également modifier
l'interprétation du code: <code>new\x</code> est désormais identique à <code>constant('new\x')</code>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
l'interprétation du code: <code>new\x</code> est désormais identique à <code>constant('new\x')</code>,
l'interprétation du code : <code>new\x</code> est désormais identique à <code>constant('new\x')</code>,

<listitem>
<para>
Les espaces de noms ne peuvent plus contenir d'espaces blancs: bien que <code>Foo\Bar</code> soit
reconnu comme un espace de nom , <code>Foo \ Bar</code> ne le sera plus. Inversement, les mots-clés
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
reconnu comme un espace de nom , <code>Foo \ Bar</code> ne le sera plus. Inversement, les mots-clés
reconnu comme un espace de nom, <code>Foo \ Bar</code> ne le sera plus. Inversement, les mots-clés

</listitem>
<listitem>
<para>
Les écritures ternaires imbriqués nécessitent désormais des parenthèses explicites.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Les écritures ternaires imbriqués nécessitent désormais des parenthèses explicites.
Les écritures ternaires imbriquées nécessitent désormais des parenthèses explicites.

<itemizedlist>
<listitem>
<para>
<function>gzgetss</function> a été supprimé.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<function>gzgetss</function> a été supprimé.
<function>gzgetss</function> a été supprimée.

<title>Opérateur Nullsafe</title>

<para>
La prise en charge de l'<link linkend="language.oop5.basic.nullsafe">opérateur nullsafe</link> (<literal>?-></literal>) a été ajotuée.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
La prise en charge de l'<link linkend="language.oop5.basic.nullsafe">opérateur nullsafe</link> (<literal>?-></literal>) a été ajotuée.
La prise en charge de l'<link linkend="language.oop5.basic.nullsafe">opérateur nullsafe</link> (<literal>?-></literal>) a été ajoutée.

</listitem>
<listitem>
<para>
<type>static</type> (comme dans "late static binding") peut désormais être utilisé comme type de retour:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<type>static</type> (comme dans "late static binding") peut désormais être utilisé comme type de retour:
<type>static</type> (comme dans "late static binding") peut désormais être utilisé comme type de retour :

</listitem>
<listitem>
<para>
&new; et &instanceof; peut maintenant être utilisé avec des expressions arbitraires, en utilisant
Copy link
Contributor

@villfa villfa Dec 31, 2020

Choose a reason for hiding this comment

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

Suggested change
&new; et &instanceof; peut maintenant être utilisé avec des expressions arbitraires, en utilisant
&new; et &instanceof; peuvent maintenant être utilisées avec des expressions arbitraires, en utilisant

<listitem>
<para>
Les traits peuvent désormais définir des méthodes privées abstraites. Ces méthodes doivent
être implémentées par la classe utilisant le trait..
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
être implémentées par la classe utilisant le trait..
être implémentées par la classe utilisant le trait.

<listitem>
<para>
<literal>throw</literal> peut maintenant être utilisé comme une expression. Cela permet des
utilisations comme:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
utilisations comme:
utilisations comme :

</listitem>
<listitem>
<para>
<function>get_resource_id</function> a été ajouté, qui renvoie la même valeur que
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<function>get_resource_id</function> a été ajouté, qui renvoie la même valeur que
<function>get_resource_id</function> a été ajoutée, qui renvoie la même valeur que

<listitem>
<para>
<methodname>DateTime::createFromInterface</methodname> et
<methodname>DateTimeImmutable::createFromInterface</methodname> ont été ajoutés.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<methodname>DateTimeImmutable::createFromInterface</methodname> ont été ajoutés.
<methodname>DateTimeImmutable::createFromInterface</methodname> ont été ajoutées.


<para>
<interfacename>DOMParentNode</interfacename> et <interfacename>DOMChildNode</interfacename> avec de
nouvelles API de traversée et de manipulation ont été ajoutés.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
nouvelles API de traversée et de manipulation ont été ajoutés.
nouvelles API de traversée et de manipulation ont été ajoutées.

<title>Filter</title>

<para>
<constant>FILTER_VALIDATE_BOOL</constant> a été ajouté comme alias pour
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<constant>FILTER_VALIDATE_BOOL</constant> a été ajouté comme alias pour
<constant>FILTER_VALIDATE_BOOL</constant> a été ajoutée comme alias pour


<para>
<function>enchant_dict_add</function>, <function>enchant_dict_is_added</function>, et
<constant>LIBENCHANT_VERSION</constant> ont été ajoutés.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<constant>LIBENCHANT_VERSION</constant> ont été ajoutés.
<constant>LIBENCHANT_VERSION</constant> ont été ajoutées.

<title>LDAP</title>

<para>
<function>ldap_count_references</function> a été ajouté, et renvoie le nombre de messages de référence
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<function>ldap_count_references</function> a été ajouté, et renvoie le nombre de messages de référence
<function>ldap_count_references</function> a été ajoutée, et renvoie le nombre de messages de référence

<title>Expressions régulières (compatibles Perl)</title>

<para>
<function>preg_last_error_msg</function> a été ajouté, et renvoie un message lisible par l'homme
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<function>preg_last_error_msg</function> a été ajouté, et renvoie un message lisible par l'homme
<function>preg_last_error_msg</function> a été ajoutée, et renvoie un message lisible par l'homme

Comment on lines +411 to +413
<methodname>SQLite3::setAuthorizer</methodname> et les constantes de classe respectives ont été
ajoutées pour définir un callback userland qui sera utilisé pour autoriser ou non une action
sur la base de données.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<methodname>SQLite3::setAuthorizer</methodname> et les constantes de classe respectives ont été
ajoutées pour définir un callback userland qui sera utilisé pour autoriser ou non une action
sur la base de données.
<methodname>SQLite3::setAuthorizer</methodname> et les constantes de classe respectives ont été
ajoutées pour définir une fonction de rappel définie par l'utilisateur qui sera utilisée pour autoriser ou non
une action sur la base de données.

</sect2>

<sect2 xml:id="migration80.new-features.standard">
<title>Bibliothèque standard </title>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<title>Bibliothèque standard </title>
<title>Bibliothèque standard</title>

<listitem>
<para>
<function>str_contains</function>, <function>str_starts_with</function> et
<function>str_ends_with</function> ont été ajoutés, qui vérifient si <parameter>haystack</parameter>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<function>str_ends_with</function> ont été ajoutés, qui vérifient si <parameter>haystack</parameter>
<function>str_ends_with</function> ont été ajoutées, qui vérifient si <parameter>haystack</parameter>

</listitem>
<listitem>
<para>
<function>fdiv</function> a été ajouté, et effectue une division en virgule flottante sous la sémantique
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<function>fdiv</function> a été ajouté, et effectue une division en virgule flottante sous la sémantique
<function>fdiv</function> a été ajoutée, et effectue une division en virgule flottante sous la sémantique

Comment on lines +440 to +442
<function>get_debug_type</function> a été ajouté, ry renvoie un type utile pour les messages d'erreur.
Contrairement à <function>gettype</function>, il utilise des noms de type canoniques, retourne les
noms de classe pour les objets et indique le type de ressource pour les ressources.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<function>get_debug_type</function> a été ajouté, ry renvoie un type utile pour les messages d'erreur.
Contrairement à <function>gettype</function>, il utilise des noms de type canoniques, retourne les
noms de classe pour les objets et indique le type de ressource pour les ressources.
<function>get_debug_type</function> a été ajoutée, et renvoie un type utile pour les messages d'erreur.
Contrairement à <function>gettype</function>, elle utilise des noms de type canoniques, retourne les
noms de classe pour les objets et indique le type de ressource pour les ressources.

<listitem>
<para>
<function>array_diff</function>, <function>array_intersect</function> et leurs variations peuvent
maintenant être utilisés avec un seul tableau comme argument. Cela signifie que des utilisations telles
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
maintenant être utilisés avec un seul tableau comme argument. Cela signifie que des utilisations telles
maintenant être utilisées avec un seul tableau comme argument. Cela signifie que des utilisations telles

<listitem>
<para>
Nouvelles méthodes <methodname>ZipArchive::setMtimeName</methodname> et
<methodname>ZipArchive::setMtimeIndex</methodname> our définir l'heure de modification d'une entrée..
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<methodname>ZipArchive::setMtimeIndex</methodname> our définir l'heure de modification d'une entrée..
<methodname>ZipArchive::setMtimeIndex</methodname> pour définir l'heure de modification d'une entrée..

<para>
L'option <literal>'remove_path'</literal> de <methodname>ZipArchive::addGlob</methodname> et
<methodname>ZipArchive::addPattern</methodname> est maintenant traitée comme un préfixe de chaîne
arbitraire (par soucis de cohérence avec l'option <literal>'add_path'</literal>), alors qu'autrefois
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
arbitraire (par soucis de cohérence avec l'option <literal>'add_path'</literal>), alors qu'autrefois
arbitraire (par souci de cohérence avec l'option <literal>'add_path'</literal>), alors qu'autrefois

Comment on lines +30 to +33
les résultats des méthodes <methodname>ReflectionClass::getConstants</methodname> et
<methodname>ReflectionClass::getReflectionConstants</methodname> peuvent maintenant être filtrés via
un nouveau paramètre <parameter>filter</parameter>. Trois nouvelles constantes ont été ajoutées pour
être utilisées avec:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
les résultats des méthodes <methodname>ReflectionClass::getConstants</methodname> et
<methodname>ReflectionClass::getReflectionConstants</methodname> peuvent maintenant être filtrés via
un nouveau paramètre <parameter>filter</parameter>. Trois nouvelles constantes ont été ajoutées pour
être utilisées avec:
Les résultats des méthodes <methodname>ReflectionClass::getConstants</methodname> et
<methodname>ReflectionClass::getReflectionConstants</methodname> peuvent maintenant être filtrés via
un nouveau paramètre <parameter>filter</parameter>. Trois nouvelles constantes ont été ajoutées pour
être utilisées avec :

Copy link
Contributor

Choose a reason for hiding this comment

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

pour l'utilisation avec celui-ci : est peut-ête une meilleure formulation.

</listitem>
<listitem>
<para>
<methodname>ZipArchive::extractTo</methodname> estaure maintenant l'heure de modification du fichier.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<methodname>ZipArchive::extractTo</methodname> estaure maintenant l'heure de modification du fichier.
<methodname>ZipArchive::extractTo</methodname> restaure maintenant l'heure de modification du fichier.

</listitem>
<listitem>
<para>
La possibilité d'appeler des méthodes non statiques de manière statique a été supprimée. Donc
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
La possibilité d'appeler des méthodes non statiques de manière statique a été supprimée. Donc
La possibilité d'appeler des méthodes non statiques de manière statique a été retirée. Donc

Nitpick :)

<para>
La possibilité d'appeler des méthodes non statiques de manière statique a été supprimée. Donc
<function>is_callable</function> échouera lors de la recherche d'une méthode non statique avec
un nom de classe (doit être vérifié avec une instance d'objet)..
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
un nom de classe (doit être vérifié avec une instance d'objet)..
un nom de classe (doit être vérifié avec une instance d'objet).

</listitem>
<listitem>
<para>
La possibilité de définir des constantes insensibles à la casse a été supprimée.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
La possibilité de définir des constantes insensibles à la casse a été supprimée.
La possibilité de définir des constantes insensibles à la casse a été retirée.

<para>
La possibilité de dissocier <varname>this</varname> des fermetures créées à partir d'une
méthode en utilisant <methodname>Closure::fromCallable</methodname> ou
<methodname>ReflectionMethod::getClosure</methodname>, a été retirée.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<methodname>ReflectionMethod::getClosure</methodname>, a été retirée.
<methodname>ReflectionMethod::getClosure</methodname> a été retirée.

<listitem>
<para>
Le comportement de <function>array_key_exists</function> concernant le type du paramètre
<parameter>key</parameter> a été rendu cohérent avec <function>isset</function> et
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<parameter>key</parameter> a été rendu cohérent avec <function>isset</function> et
<parameter>key</parameter> a été aligné avec <function>isset</function> et

Nitpick :)

</sect3>

<sect3 xml:id="migration80.other-changes.extensions.date">
<title>Date et Heure</title>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<title>Date et Heure</title>
<title>Date et heure</title>

Le paramètre <parameter>num_points</parameter> de <function>imagepolygon</function>,
<function>imageopenpolygon</function> et <function>imagefilledpolygon</function> est maintenant
optionnel, c'est-à-dire que ces fonctions peuvent être appelées avec 3 ou 4 arguments. Si l'argument
est omis, il est calculé comme suit <code>count($points)/2</code>.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
est omis, il est calculé comme suit <code>count($points)/2</code>.
est omis, il est calculé comme suit : <code>count($points)/2</code>.


<para>
La version minimale requise de libxml est maintenant 2.9.0. Cela signifie que le chargement d'entités
externes est maintenant garanti pour être désactivé par défaut, et aucune mesure supplémentaire n'est
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
externes est maintenant garanti pour être désactivé par défaut, et aucune mesure supplémentaire n'est
externes est maintenant garanti d'être désactivé par défaut, et aucune mesure supplémentaire n'est

<para>
<!--<link linkend="ini.zend.exception-string-param-max-len">-->zend.exception_string_param_max_len<!--</link>-->
est une nouvelle directive INI pour définir la longueur de chaîne maximale dans un argument d'une trace
de pile "stringifiée".
Copy link
Contributor

Choose a reason for hiding this comment

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

Est-ce qu'on pourrait dire "sérialisée" pour éviter les guillemets et l'anglicisme?


<para>
Les cibles EBCDIC ne sont plus prises en charge, bien qu'il soit peu probable qu'elles fonctionnaient
encore en premier lieu.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
encore en premier lieu.
en premier lieu.

@adoy
Copy link
Member

adoy commented Jun 14, 2023

PR inactive. Réouvrir au besoin.

@adoy adoy closed this Jun 14, 2023
Guilhemvnt added a commit to Guilhemvnt/doc-fr that referenced this pull request Feb 1, 2024
In constants.xml used in https://www.php.net/manual/fr/ref.pdo-mysql.php, in the 'Exemple php#1 Activation du mode non mis en cache de MySQL'section.A closing bracket is missing for the foreach loop, it may cause missing understanding for beginner in PHP.
Girgias pushed a commit that referenced this pull request Feb 1, 2024
In constants.xml used in https://www.php.net/manual/fr/ref.pdo-mysql.php, in the 'Exemple #1 Activation du mode non mis en cache de MySQL'section.A closing bracket is missing for the foreach loop, it may cause missing understanding for beginner in PHP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants