Do not error on absent config files
Open
Nobody has claimed this yet.
type:enhancement
- Dominant language
- PHP
- Stars
- 34
- Forks
- 9
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 1
Description
Problem
Too many files returning [] in application's config directory.
Solution
Return [] if the file is not found instead of throwing exception.
To save clarity about what config files are read we can do https://github.com/yiisoft/config/issues/125
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 by locating the config readers that return [] and reproduce the exception caused by an absent file. Done means missing config files return [] without an exception while existing-file behavior remains unchanged; issue 125 may provide context on which config files are read.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100