-
-
Notifications
You must be signed in to change notification settings - Fork 149
Upgrade PHP requirement: 8.0 → 8.1, code adjustments #442
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
base: master
Are you sure you want to change the base?
Conversation
9288d5a
to
82e2977
Compare
82e2977
to
2aab761
Compare
7e91eec
to
3d62c02
Compare
3d62c02
to
1f0a5b6
Compare
parameters: | ||
ignoreErrors: | ||
- | ||
message: '#^Deprecated in PHP 8\.4\: Parameter \#1 \$session \(Gnikyt\\BasicShopifyAPI\\Session\) is implicitly nullable via default value null\.$#' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am thinking, these errors will need to be fixed eventually, as 8.1 / 8.2 won't be support for a lot longer so we will need to move over the 8.3 but might be worth just jumping to 8.4 when that refactor happens.
This would mean bringing in our own API package I think. Unless we can use something Shopify already has but I've not looked.
Thoughts @enmaboya
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Kyon147 Fork of the package is currently on hold due to work commitments. However, I expect to publish it soon with fixes for the issues flagged by PHPStan and a minimum PHP version of 8.1 (with further updates planned in the future).
Reasons for changing the minimum version: