Skip to content

Commit

Permalink
Add correct locale for macOS. Related to issue beyondcode#67
Browse files Browse the repository at this point in the history
Since the correct locale on macOS is `en_US.UTF-8` and not `en_US.utf8` the default config should take that into account.
  • Loading branch information
mazedlx authored Aug 8, 2019
1 parent 0d9a06d commit 2c6f1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
\BeyondCode\SelfDiagnosis\Checks\LocalesAreInstalled::class => [
'required_locales' => [
'en_US',
'en_US.utf8',
PHP_OS === 'Darwin' ? 'en_US.UTF-8' : 'en_US.utf8',
],
],
\BeyondCode\SelfDiagnosis\Checks\MaintenanceModeNotEnabled::class,
Expand Down

0 comments on commit 2c6f1be

Please sign in to comment.