Skip to content

Select exclusive environments and default to production - #254

Merged
g105b merged 1 commit into
masterfrom
feature/225-exclusive-environments
Nov 11, 2026
Merged

g105b merged 1 commit into
masterfrom
feature/225-exclusive-environments

Conversation

@g105b

@g105b g105b commented Nov 10, 2026

Copy link
Copy Markdown
Member

Defaults to production behaviour and permits only one development, staging or production configuration file, including aliases. Conflicting files or flags throw a clear exception. Staging retains production behaviour and has its own isStaging() check.

All 73 tests and quality checks pass, with three existing PHPUnit notices. Coverage increases from 94.83% to 97.01%. Wiki documentation is updated: https://github.com/phpgt/Config/wiki/Automatically-loading-config

Fixes #225. Related WebEngine change: phpgt/WebEngine#748.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 14 complexity · 0 duplication

Metric Results
Complexity 14
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@g105b
g105b merged commit cf62c50 into master Nov 11, 2026
41 checks passed
@g105b
g105b deleted the feature/225-exclusive-environments branch November 11, 2026 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Only dev *or* prod config, not both

1 participant