Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update larastan/larastan requirement from ^2.0 to ^3.0 #22

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 25, 2024

Updates the requirements on larastan/larastan to permit the latest version.

Release notes

Sourced from larastan/larastan's releases.

3.0.0

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.
Commits
  • 88f46e3 chore: update README
  • bc93ff0 chore: rework upgrade guide
  • 2fbbcbe fix: revert hack
  • 0ad3c58 fix: require testbench-core and adjust dependencies
  • 637a453 fix: require PHP parser explicitly
  • 3814cdd fix: hack workaround to dependency problem
  • 51db2b6 fix PHP parser compatibility
  • 5cfdb31 feat: update dependencies
  • 254796e fix: relation forwards calls extension uses type instead of class reflection
  • 2489d05 fix compability
  • Additional commits viewable in compare view

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Updates the requirements on [larastan/larastan](https://github.com/larastan/larastan) to permit the latest version.
- [Release notes](https://github.com/larastan/larastan/releases)
- [Changelog](https://github.com/larastan/larastan/blob/3.x/RELEASE.md)
- [Commits](larastan/larastan@2.0.0...v3.0.0)

---
updated-dependencies:
- dependency-name: larastan/larastan
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 25, 2024
@n4ss1m
Copy link
Contributor

n4ss1m commented Nov 25, 2024

The test fails on PHP 8.1 because Larastan 3 requires PHP ^8.2. Updating "larastan/larastan" in composer.json to "^2.0|^3.0" will fix this issue by supporting PHP 8.1 (Larastan 2) and PHP ^8.2 (Larastan 3). I will create a new PR with this change later.

@kossa
Copy link
Owner

kossa commented Nov 26, 2024

Thanks @n4ss1m

@kossa kossa closed this Nov 26, 2024
Copy link
Author

dependabot bot commented on behalf of github Nov 26, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/composer/larastan/larastan-tw-3.0 branch November 26, 2024 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants