Skip to content

Add ignoreIncludeSideEffects configuration key#11451

Merged
danog merged 1 commit intovimeo:6.xfrom
danog:ignoreIncludeSideEffects
May 26, 2025
Merged

Add ignoreIncludeSideEffects configuration key#11451
danog merged 1 commit intovimeo:6.xfrom
danog:ignoreIncludeSideEffects

Conversation

@danog
Copy link
Collaborator

@danog danog commented May 26, 2025

Ignoring include side effects can significantly speed up scans on legacy codebases, but changes to variables or variables defined inside of included files will not be visible to Psalm (functions, constants and classes will still be visible anyway, especially if the hoistConstants, allConstantsGlobal, allFunctionsGlobal configuration parameters are set to true).

@danog danog added the release:feature The PR will be included in 'Features' section of the release notes label May 26, 2025
@danog danog merged commit 3eee830 into vimeo:6.x May 26, 2025
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:feature The PR will be included in 'Features' section of the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant