Skip to content

Bump larastan/larastan from 3.10.0 to 3.13.2 - #4189

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/larastan/larastan-3.13.2
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/composer/larastan/larastan-3.13.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Contributor

Bumps larastan/larastan from 3.10.0 to 3.13.2.

Release notes

Sourced from larastan/larastan's releases.

3.13.2

What's Changed

Added

  • Read CREATE TABLE statements passed as string literals to DB::statement() and DB::unprepared() in migrations, using the same SQL parsers as schema dumps, by @​tiagoabsantos in #2564. Read more about it here.
  • Infer Arr::map() callback parameter types and the mapped array type by @​Gabrieljr42 in #2587.

Fixed

  • Check model properties in fill() and forceFill() by @​uchimaki-vensley in #2618.
  • Check model properties in withAttributes() by @​uchimaki-vensley in #2599.
  • Check model properties in forceCreateMany() and forceCreateManyQuietly() by @​uchimaki-vensley in #2600.
  • Apply model casts to date columns such as created_at instead of always reading them as dates by @​canvural in 453bff0.
  • Resolve the enum type of AsEnumCollection and AsEnumArrayObject casts by @​lazerg in #2590.
  • Return int|false from model increment() and decrement(), since an updating listener can cancel the update, by @​canvural in 0293dbc.
  • Resolve factory() from the HasFactory generic, including models that set their factory with the $factory property or #[UseFactory], by @​mkantautas in #2615 and @​canvural in 6dfe581.
  • Keep the model template type in forwarded static calls on a class-string<T>, such as $class::findOrFail($id), by @​mkantautas in #2616.
  • Read #[CollectedBy] from parent models on Laravel 13.4 and newer by @​APX403 in #2586. Read more about it here.
  • Keep the relation type after calling when() and unless() on a relation by @​APX403 in #2603.
  • Accept deeper nesting and closures in nested eager-load arrays passed to with(), withOnly(), load(), and loadMissing() by @​lazerg in #2583.
  • Read columns from ulidMorphs(), numericMorphs(), and their nullable variants in migrations by @​mkantautas in #2614.
  • Treat rememberToken() columns as nullable by @​lazerg in #2611.
  • Fall back to the bundled SQL parser when phpmyadmin/sql-parser can't parse a schema dump, instead of losing every table in it, by @​Cayan in #2588.
  • Resolve EventFake methods such as dispatched() and hasDispatched() on the Event facade by @​lazerg in #2574.
  • Resolve QueueFake methods such as pushed() and hasPushed() on the Queue facade by @​canvural in 9c1d4f4.
  • Detect container, request, and config injection in OctaneCompatibilityRule through any constructor argument, make(), get(), and makeWith() calls, and class-string references by @​Gabrieljr42 in #2609.
  • Avoid NoEnvCallsOutsideOfConfigRule false positives when a config file is analysed in editor mode by @​billypoke in #2482.
  • Only count Laravel's view() helper when detecting unused views, and report static::make(), self::make(), and parent::make() in NoModelMakeRule, by @​GTS-MEGHNI in #2598.

New Contributors

Full Changelog: v3.13.1...v3.13.2

3.13.1

What's Changed

Fixed

  • Type argument() and option() calls and check argument and option names in commands registered through the console kernel, including the kernel's $commands property, withCommands(), and app/Console/Commands on Laravel 13.36 and newer, by @​robsonek in #2585.
  • Infer callback parameter types in map() and mapWithKeys() on Eloquent collections again, so mapped values are no longer mixed, by @​canvural in dea9faf.
  • Check model properties in incrementEach() and decrementEach() by @​uchimaki-vensley in #2573.
  • Check model properties in incrementOrCreate() by @​uchimaki-vensley in #2581.

... (truncated)

Commits
  • 0de9aec fix: keep the template type in forwarded static calls on a model class-string...
  • bd8d022 fix: check model properties in fill() and forceFill() (#2618)
  • 6dfe581 refactor: fall back to factory() return type when resolving model factories
  • 3a6aa17 fix: resolve factory() from the HasFactory generic when newFactory() is not o...
  • 51c47c2 fix: read columns from ulidMorphs() and numericMorphs() migrations (#2614)
  • 453bff0 fix: check for casts on date columns too
  • b862d19 chore: fix tests
  • 61403ec fix: treat rememberToken() columns as nullable (#2611)
  • cd61813 fix: keep the relation type after when() and unless() (#2603)
  • 3c8bc5d fix: check model properties in forceCreateMany() and forceCreateManyQuietly()...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot 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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [larastan/larastan](https://github.com/larastan/larastan) from 3.10.0 to 3.13.2.
- [Release notes](https://github.com/larastan/larastan/releases)
- [Changelog](https://github.com/larastan/larastan/blob/3.x/RELEASE.md)
- [Commits](larastan/larastan@v3.10.0...v3.13.2)

---
updated-dependencies:
- dependency-name: larastan/larastan
  dependency-version: 3.13.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants