Repository navigation
chore: update vimeo/psalm requirement from ^6.13.1 to ^7.0.4 - #296
Conversation
Updates the requirements on [vimeo/psalm](https://github.com/vimeo/psalm) to permit the latest version. - [Release notes](https://github.com/vimeo/psalm/releases) - [Commits](vimeo/psalm@6.13.1...7.0.4) --- updated-dependencies: - dependency-name: vimeo/psalm dependency-version: 7.0.4 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Stale comment
Risk: medium.
Automated risk review (dry run): Medium
This PR would not be automatically approved. Human approval required.
Why: This is a major-version bump of
vimeo/psalmincomposer.jsonfrom^6.13.1to^7.0.4, and linux-build CI is failing with hundreds of new Psalm errors. Human review is needed and no reviewers were assigned.If you disagree with this review, share this PR in #feedback-agent-approvals or submit a changes-requested review explaining why.
Sent by Cursor Approval Agent: Dry-Run PR Approver
Psalm 7 flags most of the public API as unused because the analysis only covers src. Turn the check off and prune the stale baseline entries.
There was a problem hiding this comment.
Stale comment
Risk: low.
Automated risk review (dry run): Low
This PR would be automatically approved. Because it was authored by a bot, a human approving review would also be required.
Why: The diff is limited to the
vimeo/psalmconstraint incomposer.json,findUnusedCode="false"inpsalm.xml, and pruning unused-code entries inpsalm-baseline.xml; there are no SDK source or runtime changes, and Bugbot plus CI completed without findings.If you disagree with this review, share this PR in #feedback-agent-approvals or submit a changes-requested review explaining why.
Sent by Cursor Approval Agent: Dry-Run PR Approver
Psalm 7 treats code that only unused code references as unused. Nothing in src calls the public API, so it flagged nearly the whole SDK. Tag the public classes and FeatureRequesterBase with @psalm-api, restore unused code detection, and regenerate the baseline.
There was a problem hiding this comment.
Risk: low.
Automated risk review (dry run): Low
This PR would be automatically approved. Because it was authored by a bot, a human approving review would also be required.
Why: The change bumps the vimeo/psalm constraint in composer.json to ^7.0.4, regenerates psalm-baseline.xml, and adds @psalm-api annotations on public SDK classes so Psalm 7 unused-code analysis does not flag the public API. There is no runtime behavior change, Bugbot found no issues, and CI passed.
If you disagree with this review, share this PR in #feedback-agent-approvals or submit a changes-requested review explaining why.
Sent by Cursor Approval Agent: Dry-Run PR Approver


Updates the requirements on vimeo/psalm to permit the latest version.
Release notes
Sourced from vimeo/psalm's releases.
Commits
fa5b1f6Merge pull request #13326 from danog/plugin-not-installed-hint7a74336Ask whether the package of an unknown plugin class is installed87bdf0bMerge pull request #12681 from jirkace/fix/9110-param-out-bodiless-methodcc638e9Merge pull request #12615 from jirkace/fix/8202-array-splice-return-element-type62414deUpdate the files composer build generatesebd1970Merge pull request #12814 from jirkace/fix/7923-conditional-class-definition-...047c63bMerge pull request #12854 from jirkace/fix-118240d9d8a5Merge pull request #12868 from jirkace/fix-1156545cf806Merge pull request #13075 from jirkace/fix/6067-as-array-keyab20b2eMerge pull request #13207 from jirkace/fix/9737-spl-doubly-linked-list-appendDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Note
Overview
Upgrades the dev dependency
vimeo/psalmfrom^6.13.1to^7.0.4and refreshes static-analysis metadata so CI stays green on Psalm 7.The PR adds
@psalm-apito the documented public SDK surface (e.g.LDClient,LDContext, integrations, hooks, migrations, and related types) so Psalm 7 treats those symbols as part of the supported API instead of reporting broadPossiblyUnused*/ClassMustBeFinalnoise.psalm-baseline.xmlis regenerated for Psalm 7.0.4: many former suppressions drop off (especially for@psalm-apitypes), while a smaller set of remaining issues is kept (e.g. someRiskyTruthyFalsyComparison,MissingOverrideAttribute, and a few newPossiblyUnusedPropertyentries on internal models).There are no functional runtime changes—only composer, docblocks, and the Psalm baseline.
Reviewed by Cursor Bugbot for commit 178b764. Bugbot is set up for automated code reviews on this repo. Configure here.