civicrm-setup - Error during, uh, let's call them unit tests, if db port isn't specified
Came up during stuff I probably shouldn't be spending time on, where this line errors if
port doesn't even exist in the array:
... $connectionOptions['port'] ?: NULL ...
It's more typing but this old-school version should achieve the same thing and prevent errors:
empty($connectionOptions['port']) ? NULL : $connectionOptions['port']
Also this line has the same error: https://github.com/civicrm/civicrm-drupal-8/blob/0b72da46ae00aa08152874d7faa40b66036c58a1/civicrm.install#L116