Correction de la dépendance InfluxDB dans composer.json pour compatibilité avec le code actuel#3038
Open
kwizer15 wants to merge 1 commit intojeedom:developfrom
Open
Correction de la dépendance InfluxDB dans composer.json pour compatibilité avec le code actuel#3038kwizer15 wants to merge 1 commit intojeedom:developfrom
kwizer15 wants to merge 1 commit intojeedom:developfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Cette PR corrige une dépendance inadaptée dans le fichier
composer.json. Initialement, la dépendance"influxdata/influxdb-client-php": "^3"était utilisée, mais elle n’est pas compatible avec le code actuel de Jeedom qui repose sur une implémentation plus ancienne de la bibliothèque InfluxDB. J’ai donc remplacé cette dépendance par"influxdb/influxdb-php": "^1.15", qui correspond à la version attendue par le code existant.J’ai également mis à jour le fichier
composer.lockpour refléter ce changement. Cependant, comme ce fichier est supprimé lors de l’installation avant de lancercomposer install, cette mise à jour n’a pas d’impact direct pour les utilisateurs finaux ou les développeurs.Le choix de la version
^1.15a été fait pour garantir une stabilité avec la dernière version mineure disponible dans la série 1.x tout en restant compatible avec le code actuel.Corrige les erreurs PHPStan suivantes : https://github.com/jeedom/core/pull/3033/files?short_path=57271cb#diff-995edee38ad4f8387e58ebd52c31bcc04c56cc2448d331b1cf5e0b35c57b9efaR183-R194
Suggested changelog entry
composer.jsonpour restaurer la compatibilité avec le code actuel.Related issues/external references
Issue #3039
Types of changes
PR checklist