mezzio-skeleton icon indicating copy to clipboard operation
mezzio-skeleton copied to clipboard

Switch development config to use ConfigAggregator

Open kynx opened this issue 1 year ago • 3 comments

Q A
Documentation no
Bugfix no
BC Break no
New Feature yes
RFC no
QA no

Description

This PR changes development.config.php.dist to use a ConfigAggregator so https://github.com/laminas/laminas-component-installer/pull/68 can inject --dev-only config providers. It also adds the ability to load dev-only configuration from {,*.}{global,local}-development.php files - like MVC does - so settings in the development config providers can be overridden.

I'm not sure what I can do to test these changes. As far as I can tell the existing tests don't cover the structure of the config files, but if anyone's got any pointers...

kynx avatar Mar 10 '23 17:03 kynx

You might want to rebase

Xerkus avatar Feb 15 '24 01:02 Xerkus

Grrr.... done.

kynx avatar Feb 15 '24 11:02 kynx

Hey @Xerkus I ended up using global.dev.php.dist instead of local.dev.php.dist - I think that's better for project-wide developer settings that get checked in to VCS.

kynx avatar Feb 24 '24 00:02 kynx