Skip to content

[BUGS-7105] check if the $output index is set before manipulating it#285

Merged
jazzsequence merged 3 commits intodevelopfrom
bugs-7105
Nov 13, 2023
Merged

[BUGS-7105] check if the $output index is set before manipulating it#285
jazzsequence merged 3 commits intodevelopfrom
bugs-7105

Conversation

@jazzsequence
Copy link
Contributor

@jazzsequence jazzsequence commented Nov 9, 2023

This PR fixes #284 by ensuring that any $output indices exist before manipulating them (in the pattern $output['some_index'] + 1) which returns a PHP warning if that index does not exist.

@jazzsequence jazzsequence requested a review from a team as a code owner November 9, 2023 15:40
@jazzsequence jazzsequence changed the base branch from main to develop November 9, 2023 15:40
@jazzsequence
Copy link
Contributor Author

Behat tests will be fixed by #283

pwtyler
pwtyler previously approved these changes Nov 9, 2023
@pwtyler pwtyler dismissed their stale review November 9, 2023 16:39

needs changelog

@jazzsequence jazzsequence requested a review from pwtyler November 9, 2023 16:45
@jazzsequence jazzsequence merged commit f3b04da into develop Nov 13, 2023
@jazzsequence jazzsequence deleted the bugs-7105 branch November 13, 2023 19:05
@jazzsequence jazzsequence mentioned this pull request Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants