Check circular references
Open
Nobody has claimed this yet.
type:enhancement
- Dominant language
- PHP
- Stars
- 34
- Forks
- 9
- Avg merge
- 1h 7m
- Merged PRs (30d)
- 1
Description
'config-plugin' => [
'params' => 'params.php',
'params1' => '$params2',
'params2' => '$params3',
'params3' => '$params1',
],
],
);
$config->get('params3');
This should to throw specific exception about circular reference.
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 tracing the configuration resolution path reached by $config->get('params3') and reproduce the circular params1 → params2 → params3 reference. Done means the lookup raises a specific circular-reference exception rather than recursing indefinitely, with a regression test covering this example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100