Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 13, 2025

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
nunomaduro/larastan ^2.6^3.0 age confidence
phpstan/phpstan ^1.10^2.0 age confidence
phpstan/phpstan-deprecation-rules ^1.1^2.0 age confidence
phpstan/phpstan-phpunit ^1.3^2.0 age confidence
phpstan/phpstan-strict-rules ^1.5^2.0 age confidence

Release Notes

larastan/larastan (nunomaduro/larastan)

v3.9.1

Compare Source

v3.9.0: 3.9.0

Compare Source

What's Changed

Added

  • feat: Add stubs for Cache facade by @​melvinversluijs in #​2420
  • feat: Migration caching (enableMigrationCache option, disabled by default) in 9b35634 and 82c1889 Read more about it here
  • feat: parseModelCastsMethod option for better cast inference in afd5944 Read more about it here:
  • feat: Styled bootstrap error reporting with stack traces in 1756b49

Fixed

  • [3.x] fix: nullability detection for TEXT and some other column types by @​hivokas in #​2422
  • fix: groupBy stub in 7d52136
  • fix: Primary key type inference for models using HasUuids and HasUlids (#​2188) in 4894e25

New Contributors

Full Changelog: larastan/larastan@v3.8.1...v3.9.0

v3.8.1: 3.8.1

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.8.0...v3.8.1

v3.8.0: 3.8.0

Compare Source

What's Changed

Added

Add optional phpMyAdmin SQL parser integration by @​canvural in #​2388

Larastan can now detect automatically if you have phpmyadmin/sql-parser package and use that to parse your squashed database migrations. This parser package has better support for different SQL keywords. Note: The package has GPL 2 license. Meaning if you install it and distribute your app with it you also need to have GPL 2 licensed application. But generally this is not a problem because you should install Larastan and the sql-parser package as a development dependency and remove these development dependencies while deploying your application to production.

Treat unsigned database columns as non-negative-int 52aa393

Fixed

  • fix: add int to Enumerable::pluck argument 974100d
  • fix: cache model casts 0ea3de7
  • chore: use cached parser for parsing migrations 8245ac3

Internal

Full Changelog: larastan/larastan@v3.7.2...v3.8.0

v3.7.2: 3.7.2

Compare Source

What's Changed

Added

Fixed

Full Changelog: larastan/larastan@v3.7.1...v3.7.2

v3.7.1: 3.7.1

Compare Source

What's Changed

Added

Full Changelog: larastan/larastan@v3.7.0...v3.7.1

v3.7.0: 3.7.0

Compare Source

What's Changed

Added

Fixed

New Contributors

Full Changelog: larastan/larastan@v3.6.1...v3.7.0

v3.6.1

Compare Source

What's Changed

Fixed

Documentation

New Contributors

Full Changelog: larastan/larastan@v3.6.0...v3.6.1

v3.6.0

Compare Source

Added 🪄

  • [3.x] getCountForPagination as a pass-thru for Laravel versions >= 12.15 by @​cosmastech in #​2301
  • [3.x] feat: add new rule to detect unnecessary Enumerable::toArray() calls by @​calebdw in #​2311 Read more about it here
  • Accurate return types for Config::collection() calls (only for Laravel >= 12.20.0) Note: Needs checkConfigTypes parameter to be enabled in the config.
  • Two new rules that will warn if you can access the information through request instead of global function NoAuthFacadeInRequestScopeRule and NoAuthHelperInRequestScopeRule Read more about it here
  • ConfigCollectionRule to warn you if you pass a config option that is not an array to Config::collection call. Note: Needs checkConfigTypes parameter to be enabled in the config.
  • Added support for calling pluck on collections with closures. (only for Laravel >= 12.20.0) fd16758

Internal ⚙️

  • Fixed PHPUnit deprecations 6431d01

New Contributors

Full Changelog: larastan/larastan@v3.5.0...v3.6.0

v3.5.0

Compare Source

What's Changed

Added
Fixed

New Contributors

Full Changelog: larastan/larastan@v3.4.2...v3.5.0

v3.4.2

Compare Source

What's Changed

  • Add fallback to existing classes/interfaces for improved type resolution by @​AJenbo in #​2223
  • [3.x] feat(config): allow glob paths for several config values by @​pataar in #​2271

New Contributors

Full Changelog: larastan/larastan@v3.4.1...v3.4.2

v3.4.1

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.4.0...v3.4.1

v3.4.0

Compare Source

3.4.0

This release includes bunch of new features that will help you fix some PHPStan level 7 errors 💪🏽

Features 🚀
Fixes 🐛
Docs 📝

New Contributors

Full Changelog: larastan/larastan@v3.3.1...v3.4.0

v3.3.1

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.3.0...v3.3.1

v3.3.0

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.2.0...v3.3.0

v3.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.1.0...v3.2.0

v3.1.0

Compare Source

What's Changed

Full Changelog: larastan/larastan@v3.0.4...v3.1.0

v3.0.4

Compare Source

Improvements

Latest PHPStan version compatibility

Full Changelog: larastan/larastan@v3.0.3...v3.0.4

v3.0.3

Compare Source

What's Changed

New Contributors

Full Changelog: larastan/larastan@v3.0.2...v3.0.3

v3.0.2

Compare Source

What's changed?

Updated minimum required PHPStan version to 2.0.2

Full Changelog: larastan/larastan@v3.0.1...v3.0.2

v3.0.1

Compare Source

What's Changed

Fixed
Internal

Also changes from 2.9.12

New Contributors

Full Changelog: larastan/larastan@v3.0.0...v3.0.1

v3.0.0: 3.0.0

Compare Source

Larastan 3.0 🥳

This release adds compability with PHPStan 2 and drops support for Laravel versions < 11

Please make sure you read the both PHPStan's and Larastan's upgrade guides!

Notable changes:

  • Added support for PHPStan 2
  • Dropped support for Laravel versions <11
  • Dropped support for automatically adding generic return types for relations. Read the upgrade guide for more info.
  • Removed some PHPStan config options. If you want the same behavior as before, you can add them back yourselves.
  • Made some rules enabled by default.

v2.11.2

Compare Source

What's Changed

  • Add fallback to existing classes/interfaces for improved type resolution by @​AJenbo in #​2223
  • [3.x] feat(config): allow glob paths for several config values by @​pataar in #​2271

New Contributors

Full Changelog: larastan/larastan@v3.4.1...v3.4.2

v2.11.1

Compare Source

Fixes

Full Changelog: larastan/larastan@v2.11.0...v2.11.1

v2.11.0

Compare Source

2.11.0

This release includes bunch of new features that will help you fix some PHPStan level 7 errors 💪🏽

New Features 🚀

Fixes 🐛

Full Changelog: larastan/larastan@v2.10.0...v2.11.0

phpstan/phpstan-phar-composer-source (phpstan/phpstan)

v2.1.36

Compare Source

v2.1.35

Compare Source

v2.1.34

Compare Source

v2.1.33

Compare Source

v2.1.32

Compare Source

v2.1.31

Compare Source

v2.1.30

Compare Source

v2.1.29

Compare Source

v2.1.28

Compare Source

v2.1.27

Compare Source

v2.1.26

Compare Source

v2.1.25

Compare Source

v2.1.24

Compare Source

v2.1.23

Compare Source

v2.1.22

Compare Source

v2.1.21

Compare Source

v2.1.20

Compare Source

v2.1.19

Compare Source

v2.1.18

Compare Source

v2.1.17

Compare Source

v2.1.16

Compare Source

v2.1.15

Compare Source

v2.1.14

Compare Source

v2.1.13

Compare Source

v2.1.12

Compare Source

v2.1.11

Compare Source

v2.1.10

Compare Source

v2.1.9

Compare Source

v2.1.8

Compare Source

v2.1.7

Compare Source

v2.1.6

Compare Source

v2.1.5

Compare Source

v2.1.4

Compare Source

v2.1.3

Compare Source

v2.1.2

Compare Source

v2.1.1

Compare Source

v2.1.0

Compare Source

v2.0.4

Compare Source

v2.0.3

Compare Source

v2.0.2

Compare Source

v2.0.1

Compare Source

v2.0.0

Compare Source

v1.12.32

Compare Source

v1.12.31

Compare Source

v1.12.30

Compare Source

v1.12.29

Compare Source

v1.12.28

Compare Source

v1.12.27

Compare Source

v1.12.26

Compare Source

v1.12.25

Compare Source

v1.12.24

Compare Source

phpstan/phpstan-deprecation-rules (phpstan/phpstan-deprecation-rules)

v2.0.3

Compare Source

  • 468e02c - Remove UsageOfDeprecatedCastRule in favour of it already being implemented in PHPStan via RestrictedMethodUsageExtension
  • ea25caa - Fix UsageOfDeprecatedCastRule - it reported all casts, not just (string)

v2.0.2

Compare Source

  • 9d8e7d4 - Implement RestrictedClassConstantUsageExtension
  • 9e96248 - Implement RestrictedPropertyUsageExtension
  • 3562b56 - Implement RestrictedFunctionUsageExtension
  • ce7a039 - Simplification
  • 223f1ab - Replace TypeHintDeprecated*Rule with RestrictedDeprecatedClassNameUsageExtension
  • 13d3746 - Simplification
  • 09f067c - Fixes
  • e5d941d - Restore original CallToDeprecatedStaticMethodRuleTest
  • 0deffb7 - Implement RestrictedClassNameUsageExtension
  • 15f1d89 - RestrictedMethodUsageExtension is called for static methods too
  • 0494a38 - Take advantage of RestrictedMethodUsageExtension
  • 96f9357 - Update metcalfc/changelog-generator action to v4.6.2
  • 775b713 - Readme: mention custom deprecation attribute
  • adf5e23 - Update metcalfc/changelog-generator action to v4.5.0
  • d3fb1e8 - Update LICENSE

v2.0.1

Compare Source

  • 1cc1259 - Bleeding edge - CallWithDeprecatedIniOptionRule

v2.0.0

Compare Source

  • 81833b5 - Removed always true PHP_VERSION_ID condition
  • f4a969d - Merge branch '1.2.x' into 2.0.x
  • 0ccccb1 - selectSingle() is being deprecated
  • 392bbe7 - Updates for PHPStan 2.0 changes
  • 89572d5 - Merge branch '1.2.x' into 2.0.x
  • 398e2e2 - Merge remote-tracking branch 'origin/1.2.x' into 2.0.x
  • 4590cf6 - Update build-cs
  • 681b2db - Stop testing PHP 7.2 and 7.3
  • 0e1d78a - Open 2.0.x
phpstan/phpstan-phpunit (phpstan/phpstan-phpunit)

v2.0.12

Compare Source

  • e4c5a22 - TestMethodsHelper - class methods cache
  • 80091f9 - TestMethodsHelper - speed-up by asking for immediate methods only

v2.0.11

Compare Source

  • 5e30669 - Perf: Refactor PHPUnitVersionDetector to use runtime reflection
  • 202afe9 - chore(deps): update github-actions

v2.0.10

Compare Source

  • 8d61a58 - Remove checkDataProviderData and introduce reportMissingDataProviderReturnType

v2.0.9

Compare Source

  • cda423c - Implement AttributeRequiresPhpVersionRule
  • 83b717d - ci: Add tests for PHP 8.5
  • 75ba948 - chore(deps): update actions/checkout action to v6

v2.0.8

Compare Source

  • 2fe9fbe - Fix AssertSameWithCountRule for recursive count()
  • d935297 - Fix "Unexpected input(s) 'extensions', valid inputs are ['php-version', 'php-extensions', 'build-infection-path']"
  • 8532ceb - Make AssertSameNullExpectedRule auto-fixable
  • a4abfc1 - Use TypeSystem in AssertSameBooleanExpectedRule
  • 36cb9a6 - Make AssertSameBooleanExpectedRule auto-fixable
  • 450bfc0 - Added assertArrayHasKey() expectations
  • 033f690 - PHPUnit 9.x/10.x does not at all support named arguments from data-providers
  • 758d343 - Refactor PHPUnitVersionDetector to ease different major version checks
  • dd87f2e - Assert*Rules: Do cheap checks first (#​247)
  • 5c89d74 - Ignore missingType.iterableValue for data-providers
  • 1fbc321 - move analyse-paths into phpstan.neon
  • 11f3ada - Fix mutation

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) April 13, 2025 01:36
@renovate
Copy link
Contributor Author

renovate bot commented Apr 13, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: composer update nunomaduro/larastan:3.9.1 phpstan/phpstan:2.1.36 phpstan/phpstan-deprecation-rules:2.0.3 phpstan/phpstan-phpunit:2.0.12 phpstan/phpstan-strict-rules:2.0.7 --with-dependencies --ignore-platform-req=ext-* --ignore-platform-req=lib-* --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins --minimal-changes
Loading composer repositories with package information
Dependency laravel/framework is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - laminas/laminas-hydrator is locked to version 4.16.0 and an update of this package was not requested.
    - laminas/laminas-hydrator 4.16.0 requires php ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 -> your php version (8.5.2) does not satisfy that requirement.
  Problem 2
    - ergebnis/composer-normalize is locked to version 2.45.0 and an update of this package was not requested.
    - ergebnis/composer-normalize 2.45.0 requires php ~7.4.0 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 -> your php version (8.5.2) does not satisfy that requirement.
  Problem 3
    - Root composer.json requires nunomaduro/larastan ^3.0 -> satisfiable by nunomaduro/larastan[v3.9.1].
    - nunomaduro/larastan v3.9.1 requires illuminate/console ^11.44.2 || ^12.4.1 -> found illuminate/console[v11.44.2, ..., v11.47.0, v12.4.1, ..., v12.48.1] but these were not loaded, likely because it conflicts with another require.
  Problem 4
    - pestphp/pest is locked to version v2.36.0 and an update of this package was not requested.
    - brianium/paratest v7.4.8 requires php ~8.2.0 || ~8.3.0 || ~8.4.0 -> your php version (8.5.2) does not satisfy that requirement.
    - pestphp/pest v2.36.0 requires brianium/paratest ^7.3.1 -> satisfiable by brianium/paratest[v7.4.8].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

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