Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix plugin compatibility check logic #81

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jazzsequence
Copy link
Contributor

Improves the plugin compatibility check by simplifying the conditional logic and ensuring a default state is defined. This change enhances readability and reliability of the compatibility status table and fixes the undefined array key error.

fixes #78

pull out the isset from the conditional so we can save it to a variable and define a default (false) state, then fix the broken conditional
@jazzsequence jazzsequence requested a review from a team as a code owner February 18, 2025 17:44
the array structure is ['plugin-name']['plugin_compatibility'] so checking $plugins['plugin_compatibility'] will always fail.
@jazzsequence jazzsequence self-assigned this Feb 18, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP Warning emitted by Pantheon Site Health Modifications
1 participant