Update dependency psalm/plugin-laravel to v4.7.0#803
Merged
renovate[bot] merged 1 commit intomainfrom Apr 13, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.5.0→4.7.0Release Notes
psalm/psalm-plugin-laravel (psalm/plugin-laravel)
v4.7.0: - Eloquent BuilderCompare Source
What's Changed
This release focuses on Eloquent Builder type coverage — new aggregate accessor resolution (
withCount/withExists/withSum/withMin/withMax/withAvg),SoftDeleteson Builder instances,where{Column}dynamic methods on builder and relations, and several stub fixes that restore correct pivot types.Features
where{Column}method resolution on relation chains (#714)withCount/withExists/withSum/withMin/withMax/withAvgaggregate accessor properties on Eloquent models (#715)SoftDeletesmethods resolving on baseBuilderinstances (#727)BelongsToMany/MorphToManystubs to declare 4 template params, restoring pivot types in return values (#716)Carbonfornow()andtoday()helpers (#725)dispatch()arguments against job/event constructor signature (#726)Auth::guard()return type to the concrete guard class (#711)Collection::whereNotNull()to removenullfromTValue(#713)env()return type based on the default value argument (#712)Fixes
collect()with no args to returnCollection<never, never>(#722)@property-readstubs for higher-order collection proxies (#720)Str::replace()(#719)Conditionable::when()/unless()andTappable::tap()to fixmixedreturn on fluent chains (#710)Collection::empty()andCollection::sum()return types (#683)@psalm-this-outto paginatorsetCollection()(#688)@psalm-taint-escape sqlto parameterizedBuildermethods (#691)TaintedHtmlsinks from Blade view data (#690)Full Changelog: psalm/psalm-plugin-laravel@v4.6.2...v4.7.0
v4.6.2Compare Source
What’s Changed
Features
@psalm-taint-source inputforHttp\Client\Responsemethods (#676) @alies-devImprovements
Collection::sum()return type frommixedtoint|float(#680) @alies-devCollection::empty()stub withstatic<never, never>return type (#679) @alies-devInternal changes
Full Changelog: psalm/psalm-plugin-laravel@v4.6.1...v4.6.2
v4.6.1: - RelationshipsCompare Source
What’s Changed
Features
__callStatic) Model calls (#663) @alies-devRelationmethod calls (#661) @alies-devFull Changelog: psalm/psalm-plugin-laravel@v4.6.0...v4.6.1
v4.6.0: - RelationshipsCompare Source
What's Changed
Deep relationship type resolution, Custom query builders, Custom Collections, and smarter validation shapes (thanks to @MDG11).
Custom Query Builders
#[UseEloquentBuilder]attribute andnewEloquentBuilder()override (#621) @alies-devSoftDeletestrait methods on custom query builders (#632) @alies-devRelationships
MethodForwardingHandlerfor Relation method forwarding (#642) @alies-devmorphToproperty type from docblock generic annotations (#652) @alies-dev#[CollectedBy]attribute for custom Eloquent collections (#623) @alies-devValidation
Type Improvements
Collection::flatten()andcollapse()return types to preserveTValue(#619) @alies-devModel::increment()/decrement()as public in stub (#618) @alies-devModelMakeDiscouragedwhen model has custommake()method (#616) @alies-devSecurity (Taint Analysis)
@psalm-flowfor Collectionget()/first()/pull()/value()default parameter taint propagation (#650) @alies-devInternal
New Contributors
Full Changelog: psalm/psalm-plugin-laravel@v4.5.0...v4.6.0
Configuration
📅 Schedule: (in timezone America/New_York)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.