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

Make library compatible with PHP 8.1 #439

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zhartaunik
Copy link

No description provided.

@gulshankumar
Copy link

Why this PR is not merged yet?

@zhartaunik
Copy link
Author

zhartaunik commented Nov 29, 2022

Why this PR is not merged yet?

#437 (comment)

Anyway it works and you may use my fork.

@djdevin
Copy link

djdevin commented Mar 8, 2023

Could this be compatible with 7.4 and 8.1?

Removing the mixed return type seemed to work.

"description": "Official PHP SDK for Authorize.Net",
"keywords": ["authorizenet", "authorize.net", "payment", "ecommerce"],
"license": "proprietary",
"homepage": "http://developer.authorize.net",
"require": {
"php": ">=5.6",
"php": "^8.1",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I suggest removing this require? my guess is that previous versions of PHP will read the attribute as a comment, so no need to break compatibility

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants