Skip to content

Commit

Permalink
Improve env aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
gmazzap committed Sep 15, 2020
1 parent 080f351 commit 0f8f268
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions src/Env/WordPressEnvBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,19 +205,21 @@ class WordPressEnvBridge
];

const ENV_TYPES = [
'development' => 'development',
'staging' => 'staging',
'production' => 'production',
'local' => 'local',
'dev' => 'development',
'develop' => 'development',
'stage' => 'staging',
'preprod' => 'staging',
'pre-prod' => 'staging',
'pre-production' => 'staging',
'uat' => 'staging',
'prod' => 'production',
'live' => 'production',
'development' => 'development',
'dev' => 'development',
'develop' => 'development',
'staging' => 'staging',
'stage' => 'staging',
'pre' => 'staging',
'preprod' => 'staging',
'pre-prod' => 'staging',
'pre-production' => 'staging',
'test' => 'staging',
'uat' => 'staging',
'production' => 'production',
'prod' => 'production',
'live' => 'production',
];

/**
Expand Down

0 comments on commit 0f8f268

Please sign in to comment.