Skip to content

Make library compatible with PHP 8.1#439

Open
zhartaunik wants to merge 1 commit intoAuthorizeNet:masterfrom
zhartaunik:issues-437
Open

Make library compatible with PHP 8.1#439
zhartaunik wants to merge 1 commit intoAuthorizeNet:masterfrom
zhartaunik:issues-437

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.

"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