Projet

Général

Profil

Actions

Demande #3983

fermé

Passage à php 7.3

Ajouté par François Poulain il y a plus de 4 ans. Mis à jour il y a plus de 4 ans.

Statut:
Résolu
Priorité:
Immédiate
Assigné à:
Version cible:
-
Début:
02/11/2019
Echéance:
% réalisé:

0%

Temps estimé:

Description

Coucou,

Le passage à php 7.3 a nécessite un munge de ma part, en prod :

(April) root@dtc:/var/www/adherents.april.org/gdtc[production*$ u=]# git diff
diff --git a/gdtc/include/coherence.php b/gdtc/include/coherence.php
index 9c3e5da..f20033e 100644
--- a/gdtc/include/coherence.php
+++ b/gdtc/include/coherence.php
@@ -807,7 +807,7 @@ function check_cmcic_amount_is_fucked ($filter = '')
       }
     }

-  $output[0] = "Problème de montant récurrent : " . sizeof($output[3]). " résultat(s)";
+  $output[0] = "Problème de montant récurrent : « FIXME: PHP7.3 casse ici » résultat(s)";

   if ( $output[3] )
     return $output;

Autrement, ça c'est plutôt bien passé. Il a essentiellement fallu installer des dépendances :
php7.3-mbstring php7.3-recode php7.3-gd php7.3-mysql

Actions

Formats disponibles : Atom PDF