acquia / drupal-environment-detector

Provides common methods for detecting the current Acquia environment
GNU General Public License v2.0
10 stars 12 forks source link

DX-2103: Accept environment parameters #6

Closed danepowell closed 4 years ago

danepowell commented 4 years ago

Methods should accept an environment name as parameter, and only if it's null fall back to getting the environment name via env var. Other methods already do this, but not these.

We need this to solve https://github.com/acquia/cli/issues/228

Postpone merging this until I've finished the ORCA integration so we can ensure tests still pass.