-
-
Notifications
You must be signed in to change notification settings - Fork 377
Force composer to choose <=10.0.5 for the Basic Shopify API #1201
Conversation
…ts and charge helper
Hey @osiset - need to set the API version as your recent merge breaks the tests for the APIHelper as they all reference Let me know if you are happy for this as a quick fix. Once this is merged I can release the new version 👍 |
@Kyon147 fine with this merge, but what is it long term we can do? People on 8.1 we're getting a breaking error without the mixed. |
offsetGet and current, are methods in ResponseAccess which have added mixed. Tests passed for 7.x and 8.x, so I am guessing we just need to adjust the tests' stub? |
Yeah that makes sense, this is the full error that is happening. I'm trying to get the error to happen locally but can't seem to replicate it outside of the automated test at the moment.
|
But by following the interface, we kill usage of < 8.0. I think were at a cross roads here... if people want to use PHP 8.0, we may have to update this package to focus on PHP 8 and disregard older versions, which sucks.. but we are now stuck in compatibility issues. |
Ah yeah it's 7.x that's the issue - was on php8 on my local. I think it makes sense to move over to PHP 8, you can only hold onto backward compatibility for so long. If someone really wants to use PHP7 still considering Laravel 9 now requires PHP8 as a minimum they would need to use an older version of this package anyways or make a fork to suit their needs. |
@Kyon147 Sadly, I just tried to google all I can to see if we can somehow support the return type, but it sees it as something custom, as if My proposal, if you think its fine:
|
@osiset - makes total sense to me - it also means that all the recent fixes around billing and other bits are included for those on PHP7.x which is nice. I'll merge this PR in for version |
No description provided.