Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throw duplicate error on use nested groups #153

Closed
vjik opened this issue Nov 22, 2023 · 0 comments · Fixed by #163 · May be fixed by #156
Closed

Throw duplicate error on use nested groups #153

vjik opened this issue Nov 22, 2023 · 0 comments · Fixed by #163 · May be fixed by #156
Labels

Comments

@vjik
Copy link
Member

vjik commented Nov 22, 2023

Test:

public function testNestedPath(): void
    {
        $config = new Config(
            new ConfigPaths(__DIR__ . '/TestAsset/configs/nested-path', 'config'),
            Options::DEFAULT_ENVIRONMENT,
        );

        $this->assertSame([
            'app' => 42,
            'test' => 19,
        ], $config->get('di-web'));
    }

Files for test: nested-path.zip

@vjik vjik added the type:bug Bug label Nov 22, 2023
@vjik vjik mentioned this issue Dec 25, 2023
@vjik vjik closed this as completed in #163 Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant