Skip to content

Breaking Change: Tracking dependencies on values - #810

Draft
staabm wants to merge 4 commits into
mainfrom
trackval
Draft

staabm wants to merge 4 commits into
mainfrom
trackval

Conversation

@staabm

@staabm staabm commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

use more fine grained result-cache invalidation, see https://phpstan.org/developing-extensions/result-cache-meta-extensions#tracking-dependencies-on-values

if someone created custom rules/extensions/collectors built on-top of phpstan-dba QueryReflection, this will be a BC break as they need to call DbSchemaResultCacheMetaExtension::trackSchemaDependency($scope); as of this PR.

@staabm staabm mentioned this pull request Oct 10, 2026
@staabm staabm changed the title Tracking dependencies on values Breaking Change: Tracking dependencies on values Oct 10, 2026
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