Skip to content

Commit e404ba9

Browse files
author
matt
committed
Simplify config names
Signed-off-by: matt <[email protected]>
1 parent 5d2dbde commit e404ba9

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

config/autoload/development.local.php.dist renamed to config/autoload/global.dev.php.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Developers on your team will then automatically enable them by calling on
1010
* `composer development-enable`.
1111
*
12-
* You may also create files matching the glob pattern `{,*.}{global,local}-development.php`.
12+
* You may also create files matching the glob pattern `{,*.}{global,local}.dev.php`.
1313
*/
1414

1515
declare(strict_types=1);

config/development.config.php.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* DO NOT MODIFY THIS FILE.
1414
*
1515
* Provide your own development-mode settings by editing the file
16-
* `config/autoload/development.local.php.dist`.
16+
* `config/autoload/global.dev.php.dist`.
1717
*
1818
* Because this file is aggregated last, it ensures:
1919
*
@@ -30,7 +30,7 @@ use Laminas\ConfigAggregator\ConfigAggregator;
3030
use Laminas\ConfigAggregator\PhpFileProvider;
3131

3232
$aggregator = new ConfigAggregator([
33-
new PhpFileProvider(realpath(__DIR__) . '/autoload/{,*.}{global,local}-development.php'),
33+
new PhpFileProvider(realpath(__DIR__) . '/autoload/{,*.}{global,local}.dev.php'),
3434
new ArrayProvider([
3535
'debug' => true,
3636
ConfigAggregator::ENABLE_CACHE => false,

src/MezzioInstaller/config.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,13 @@
258258
'filp/whoops',
259259
],
260260
'flat' => [
261-
'Resources/config/error-handler-whoops.php' => 'config/autoload/development.local.php.dist',
261+
'Resources/config/error-handler-whoops.php' => 'config/autoload/global.dev.php.dist',
262262
],
263263
'modular' => [
264-
'Resources/config/error-handler-whoops.php' => 'config/autoload/development.local.php.dist',
264+
'Resources/config/error-handler-whoops.php' => 'config/autoload/global.dev.php.dist',
265265
],
266266
'minimal' => [
267-
'Resources/config/error-handler-whoops.php' => 'config/autoload/development.local.php.dist',
267+
'Resources/config/error-handler-whoops.php' => 'config/autoload/global.dev.php.dist',
268268
],
269269
],
270270
],

test/MezzioInstallerTest/ProjectSandboxTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ protected function enableDevelopmentMode(): void
120120
Assert::assertFileExists($target);
121121

122122
$target = sprintf(
123-
'%s%sconfig%sautoload%sdevelopment.local.php',
123+
'%s%sconfig%sautoload%sglobal.dev.php',
124124
$this->projectRoot,
125125
DIRECTORY_SEPARATOR,
126126
DIRECTORY_SEPARATOR,

0 commit comments

Comments
 (0)