Closed Matroskeen closed 1 year ago
Opened https://github.com/acquia/drupal-environment-detector/pull/63
Be aware that some legacy environments may not conform to that documentation. I think stage
used to be (and may still be) a valid environment name in rare cases.
In
AcquiaDrupalEnvironmentDetector::getAhEnv()
method the possible return values are described as dev, stage, prod. According to Acquia documentation the actual values are dev, test, prod, ide.When I checked the method, it made me doubt and double-check the
test
vsstage
environment name because I wasn't sure which one is right.Code:
Proposed resolution: 1) Describe possible return values according to the documentation; 2) Optionally, add a
@see
tag to the documentation page.