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

fix: PHPStan 1.9.0 compatibility #1431

Merged
merged 1 commit into from
Nov 3, 2022
Merged

fix: PHPStan 1.9.0 compatibility #1431

merged 1 commit into from
Nov 3, 2022

Conversation

canvural
Copy link
Collaborator

@canvural canvural commented Nov 1, 2022

This PR adds PHPStan 1.9.x compatibility.

@canvural canvural marked this pull request as ready for review November 3, 2022 07:45
@canvural canvural merged commit af227f2 into master Nov 3, 2022
@canvural canvural deleted the 1.9.x branch November 3, 2022 07:46
@sov-aperogiannakis
Copy link

Is it possible to apply that patch also to 1.0.3? We still need to use that version because we haven't yet switched to Laravel 9.x.

@canvural
Copy link
Collaborator Author

canvural commented Nov 4, 2022

No. 1.x releases are not maintained any more. It lacks a lot of fixes, not just this one.

You can use your own fork with this fix though.

@sov-aperogiannakis
Copy link

Ok, we can do that, but I think the better approach would be to upgrade Laravel as soon as possible. Thanks for the fast reply.

@NickStallman
Copy link

I've also got a few Laravel 8 projects and I'm hitting this issue. It would be appreciated if it could be backported, or at least make Larastan 1.x block PHPStan 1.9 so it doesn't completely break.

@szepeviktor
Copy link
Collaborator

@NickStallman Hello! Thank you for commenting.
Please add "phpstan/phpstan": "< 1.9", to your Composer configuration.

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.

None yet

4 participants