Thanks for a great plugin! Running this with Bedrock, I noticed that the following snippet returns WP_ENVIRONMENT_TYPE
for both conditions:
private function get_env() {
if ( function_exists( 'getenv' ) ) {
if ( getenv( 'WP_ENVIRONMENT_TYPE' ) !== false ) {
return getenv( 'WP_ENVIRONMENT_TYPE' );
}
if ( getenv( 'WP_ENV' ) !== false ) {
return getenv( 'WP_ENVIRONMENT_TYPE' );
}
}
// ...
}
]]>