-
Notifications
You must be signed in to change notification settings - Fork 402
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
PHP 7.4 support #383
Comments
I also have same problem.
|
Also having the same issue with 7.4 and Deprecated: Cannot use "parent" when current class scope has no parent |
Same issue on PHP 7.4.10 |
Also having this exact same issue on PHP 7.4. |
Same thing here. |
✅ I've been able to modify my clone of the codebase to work with It's the same thing this guy did 👉 Forked Repo working with I know it's ultimately Authorize.net's responsibility to fix this but it's been 🦗💤 from them and I've been reaching out for a long time. I don't know when they're going to accept accountability for this, step up to the plate, and fix it.
🙇 Unfortunately, without possibly getting sued, I'm not allowed to distribute the fixed code to all of you due to the license agreement of their codebase unless Authorize.net gives me permission to do so, which they have not yet. But you can use the repo I mentioned above 👆. But hopefully this feedback will give you all 'some' control of your own success if Authorize.net isn't able to reconsider the decision to rely on a cross-platform compiler before PHP 7.3 reaches end of support on 6 Dec 2021. 📖 This explains the manual effort to fix all files in the
FYI (no changes to):
ℹ️ I experimented with doing this an 'easier' way that involves less manual file editing and instead inheritance of a wiser |
Just want to link to issue 397 from here since it is discussing the same problem and suggests the dev branch "dev-master#ef297d3e2d7c1092ddabd2c376eb485aac1aa66c" as an alternative to user repos. Nobody from authorize.net is coming to the rescue. This repo appears abandoned. |
Per #407, v2.0.2 supports PHP 7.4+ |
As of right now, ANet's PHP SDK cannot run on PHP 7.4, as it throws errors about invalid code in the various model types, e.g.
I believe this is due to the new JIT compiler seeing things like
on classes that don't actually have
parent
s.PR #382 already exists and appears to fix this, but even just some news that an in-house solution is in the works would be helpful.
The text was updated successfully, but these errors were encountered: