Skip to content

Docs: directory, class and declaration dependencies, closure and type-specifying extensions - #15352

Merged
ondrejmirtes merged 1 commit into
2.3.xfrom
dependency-tracker-scenarios-docs
Oct 2, 2026
Merged

ondrejmirtes merged 1 commit into
2.3.xfrom
dependency-tracker-scenarios-docs

Conversation

@ondrejmirtes

Copy link
Copy Markdown
Member

Docs for phpstan/phpstan-src#6659. Merge after it.

  • trackDirectoryDependency() and trackClassDependency(), with an example of each in the result cache meta extensions page.
  • DeclarationDependencyTracker for class reflection extensions, with an example.
  • Closure extensions and type-specifying extensions can track dependencies too. These pages get the same short section as the other extension types.
  • The pages that only mentioned trackFileDependency() and trackValueDependency() now point to the other methods.

🤖 Generated with Claude Code

https://claude.ai/code/session_01GdwtgiEHwkF5BTz73jgHQQ

…-specifying extensions

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GdwtgiEHwkF5BTz73jgHQQ
@ondrejmirtes
ondrejmirtes marked this pull request as ready for review October 2, 2026 15:15
@ondrejmirtes
ondrejmirtes merged commit e7c7399 into 2.3.x Oct 2, 2026
11 checks passed
@ondrejmirtes
ondrejmirtes deleted the dependency-tracker-scenarios-docs branch October 2, 2026 15:15
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.

1 participant