Open
Conversation
Collaborator
|
Bonjour, Il y a effectivement un truc bizarre avec cette fonction randText car $result n'est en fait jamais utilisé. je pense qu'il faudrait
pour pouvoir fixer une solution ensuite et dans tous les cas il faut faire le PR sur la branche 4.5.3 plutôt, pas sur la beta qui n'est plus utilisé |
Contributor
Author
|
Ah c'est qu'il y a un message sur Github qui dit de le faire sur la branche Beta.
En tout cas la correction règle le problème, mais je vous laisse voir si on peut faire mieux
Le dimanche 22 février 2026 à 09:47, Mips ***@***.***> a écrit :
… Mips2648 left a comment (jeedom/core#3197)
Bonjour,
Il y a effectivement un truc bizarre avec cette fonction randText car $result n'est en fait jamais utilisé.
Cependant je ne suis pas convaincu par la correction non plus;
je pense qu'il faudrait
- mieux décrire le problème rencontrer,
- identifier tous les cas d'usages
pour pouvoir fixer une solution ensuite
et dans tous les cas il faut faire le PR sur la branche 4.5.3 plutôt, pas sur la beta qui n'est plus utilisé
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.
|
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
Fix randText qui brise sous php8. La fonction utilise incorrectement evaluate en lui passant un array alors qu'elle attend un string.
Types of changes
PR checklist