Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

adds null coalescing operator check for bootstrap key index #4685

Merged
merged 2 commits into from
Jun 26, 2023

Conversation

shelane
Copy link
Contributor

@shelane shelane commented Jun 22, 2023

Fixes issue for inspector check for installed Drupal bootstrap value when not installed and no value is returned.

Motivation
Fixes #4684

Proposed changes
Add null coalescing operator to check for key existence when Drupal is not install and there is no bootstrap value.

Testing steps
Running any command on a Drupal site that does not yet have Drupal installed. It will no longer show the php warning message.

Fixes issue for inspector check for installed Drupal bootstrap value when not installed and no value is returned.
@danepowell danepowell added the Bug Something isn't working label Jun 26, 2023
@danepowell danepowell enabled auto-merge (squash) June 26, 2023 16:44
@danepowell danepowell merged commit 911d737 into acquia:main Jun 26, 2023
22 checks passed
@shelane shelane deleted the shelane-patch-inspector branch June 26, 2023 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BLT-5217: Undefined array key "bootstrap" for Inspector when Drupal is not installed
2 participants