phpDocumentor / phpDocumentor/guides
[DEPRECATION] Extending CompilerContext is deprecated, please use the CompilerContextInterface instead.
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36
- Forks
- 22
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 24
Description
Feature request
In version 1 it's possible to extend the compiler context to add extra functionality to the compiler. A better way of doing this is using encapsulation using the CompilerContextInterface.
In v2 we will make the compilercontext final and extending this class will be impossible.
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 CompilerContext and CompilerContextInterface and identify where CompilerContext is extended or exposed. Review the surrounding parser and compiler integration points before determining the migration scope. Done means the v1 extension path is replaced or deprecated in favor of interface-based encapsulation, with relevant checks updated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100