Skip to content

Commit

Permalink
Simplify config names
Browse files Browse the repository at this point in the history
Signed-off-by: matt <matt@claritum.com>
  • Loading branch information
matt committed Feb 15, 2024
1 parent 5d2dbde commit e404ba9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Developers on your team will then automatically enable them by calling on
* `composer development-enable`.
*
* You may also create files matching the glob pattern `{,*.}{global,local}-development.php`.
* You may also create files matching the glob pattern `{,*.}{global,local}.dev.php`.
*/

declare(strict_types=1);
Expand Down
4 changes: 2 additions & 2 deletions config/development.config.php.dist
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* DO NOT MODIFY THIS FILE.
*
* Provide your own development-mode settings by editing the file
* `config/autoload/development.local.php.dist`.
* `config/autoload/global.dev.php.dist`.
*
* Because this file is aggregated last, it ensures:
*
Expand All @@ -30,7 +30,7 @@ use Laminas\ConfigAggregator\ConfigAggregator;
use Laminas\ConfigAggregator\PhpFileProvider;

$aggregator = new ConfigAggregator([
new PhpFileProvider(realpath(__DIR__) . '/autoload/{,*.}{global,local}-development.php'),
new PhpFileProvider(realpath(__DIR__) . '/autoload/{,*.}{global,local}.dev.php'),
new ArrayProvider([
'debug' => true,
ConfigAggregator::ENABLE_CACHE => false,
Expand Down
6 changes: 3 additions & 3 deletions src/MezzioInstaller/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,13 @@
'filp/whoops',
],
'flat' => [
'Resources/config/error-handler-whoops.php' => 'config/autoload/development.local.php.dist',
'Resources/config/error-handler-whoops.php' => 'config/autoload/global.dev.php.dist',
],
'modular' => [
'Resources/config/error-handler-whoops.php' => 'config/autoload/development.local.php.dist',
'Resources/config/error-handler-whoops.php' => 'config/autoload/global.dev.php.dist',
],
'minimal' => [
'Resources/config/error-handler-whoops.php' => 'config/autoload/development.local.php.dist',
'Resources/config/error-handler-whoops.php' => 'config/autoload/global.dev.php.dist',
],
],
],
Expand Down
2 changes: 1 addition & 1 deletion test/MezzioInstallerTest/ProjectSandboxTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ protected function enableDevelopmentMode(): void
Assert::assertFileExists($target);

$target = sprintf(
'%s%sconfig%sautoload%sdevelopment.local.php',
'%s%sconfig%sautoload%sglobal.dev.php',
$this->projectRoot,
DIRECTORY_SEPARATOR,
DIRECTORY_SEPARATOR,
Expand Down

0 comments on commit e404ba9

Please sign in to comment.