Skip to content

UPD: Upgrade Psalm to v7 and psalm-plugin-laravel to v4#966

Open
alies-dev wants to merge 3 commits intoinex:mainfrom
alies-dev:psalm-7-upgrade
Open

UPD: Upgrade Psalm to v7 and psalm-plugin-laravel to v4#966
alies-dev wants to merge 3 commits intoinex:mainfrom
alies-dev:psalm-7-upgrade

Conversation

@alies-dev
Copy link
Copy Markdown

@alies-dev alies-dev commented Mar 18, 2026

Upgrade vimeo/psalm to v7 and psalm/plugin-laravel from v3 to v4 (changelog, migration guide).

v4 highlights: built-in security scanning (SQL injection, XSS, SSRF, shell injection, file traversal, open redirect), up to 50x faster on large projects, no more barryvdh/laravel-ide-helper dependency, Laravel 12-13 support.

Changes:

  • Upgrade vimeo/psalm v6 → v7, psalm/plugin-laravel v3 → v4
  • Update Eloquent relationship generics across 60+ models (HasMany<Model>HasMany<Model, self>) — compatible with Larastan/PHPStan
  • Suppress purity/immutability issues new in Psalm 7
  • Move version.php to projectFiles + add allConstantsGlobal="true"

Baseline intentionally not updated so the team can address newly detected issues.

@alies-dev alies-dev changed the title Upgrade Psalm to v7 and psalm-laravel-plugin to v4 Upgrade Psalm to v7 and psalm-plugin-laravel to v4 Mar 25, 2026
@alies-dev alies-dev changed the title Upgrade Psalm to v7 and psalm-plugin-laravel to v4 UPD: Upgrade Psalm to v7 and psalm-plugin-laravel to v4 Mar 25, 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