warning no environment specified, defaulting to: development
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 4.5k
- Forks
- 884
- PR merge metrics
- No merged PRs in 30d
Description
The docs seems outdated.
My config looks like this:
environments:
default_migration_table: phinxlog
default_environment: development
But I get a warning: warning no environment specified, defaulting to: development.
How to properly set default_environment?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked configuration documentation and compare its environment settings with the reported config and warning. Reproduce the warning using the shown configuration, then update the documentation to explain the proper default_environment setting and verify that the example matches the tool's behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100