Skip to content

Commit

Permalink
updated minimum php requirement to 8.1, suppressed jsonSerialize retu…
Browse files Browse the repository at this point in the history
…rn notice with #[ReturnTypeWillChange]
  • Loading branch information
arusinowski committed May 2, 2024
1 parent a3e76f9 commit 5017df5
Show file tree
Hide file tree
Showing 176 changed files with 523 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "authorizenet/authorizenet",
"type": "library",
"version": "2.0.2",
"version": "2.1.0",
"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",
"ext-curl": "*",
"ext-json": "*"
},
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/ANetApiRequestType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ANetApiRequestType
*
Expand Down Expand Up @@ -96,6 +98,7 @@ public function setRefId($refId)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/ANetApiResponseType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ANetApiResponseType
*
Expand Down Expand Up @@ -94,6 +96,7 @@ public function setSessionToken($sessionToken)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ARBCancelSubscriptionRequest
*/
Expand Down Expand Up @@ -37,6 +39,7 @@ public function setSubscriptionId($subscriptionId)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ARBCreateSubscriptionRequest
*/
Expand Down Expand Up @@ -37,6 +39,7 @@ public function setSubscription(\net\authorize\api\contract\v1\ARBSubscriptionTy


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ARBGetSubscriptionListRequest
*/
Expand Down Expand Up @@ -92,6 +94,7 @@ public function setPaging(\net\authorize\api\contract\v1\PagingType $paging)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ARBGetSubscriptionListSortingType
*
Expand Down Expand Up @@ -67,6 +69,7 @@ public function setOrderDescending($orderDescending)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ARBGetSubscriptionRequest
*/
Expand Down Expand Up @@ -64,6 +66,7 @@ public function setIncludeTransactions($includeTransactions)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ARBGetSubscriptionStatusRequest
*/
Expand Down Expand Up @@ -37,6 +39,7 @@ public function setSubscriptionId($subscriptionId)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ARBSubscriptionMaskedType
*
Expand Down Expand Up @@ -264,6 +266,7 @@ public function setArbTransactions(array $arbTransactions)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/ARBSubscriptionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ARBSubscriptionType
*
Expand Down Expand Up @@ -283,6 +285,7 @@ public function setProfile(\net\authorize\api\contract\v1\CustomerProfileIdType


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ARBUpdateSubscriptionRequest
*/
Expand Down Expand Up @@ -64,6 +66,7 @@ public function setSubscription(\net\authorize\api\contract\v1\ARBSubscriptionTy


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/ArbTransactionType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ArbTransactionType
*
Expand Down Expand Up @@ -148,6 +150,7 @@ public function setAttemptNum($attemptNum)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/ArrayOfSettingType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing ArrayOfSettingType
*
Expand Down Expand Up @@ -74,6 +76,7 @@ public function setSetting(array $setting)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/AuDeleteType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing AuDeleteType
*
Expand Down Expand Up @@ -40,6 +42,7 @@ public function setCreditCard(\net\authorize\api\contract\v1\CreditCardMaskedTyp


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/AuDetailsType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing AuDetailsType
*
Expand Down Expand Up @@ -202,6 +204,7 @@ public function setReasonDescription($reasonDescription)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/AuResponseType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing AuResponseType
*
Expand Down Expand Up @@ -94,6 +96,7 @@ public function setReasonDescription($reasonDescription)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/AuUpdateType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing AuUpdateType
*
Expand Down Expand Up @@ -67,6 +69,7 @@ public function setOldCreditCard(\net\authorize\api\contract\v1\CreditCardMasked


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/AuthenticateTestRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing AuthenticateTestRequest
*/
Expand All @@ -10,6 +12,7 @@ class AuthenticateTestRequest extends ANetApiRequestType


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing AuthorizationIndicatorType
*
Expand Down Expand Up @@ -40,6 +42,7 @@ public function setAuthorizationIndicator($authorizationIndicator)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/BankAccountMaskedType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing BankAccountMaskedType
*
Expand Down Expand Up @@ -175,6 +177,7 @@ public function setBankName($bankName)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/BankAccountType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing BankAccountType
*
Expand Down Expand Up @@ -202,6 +204,7 @@ public function setCheckNumber($checkNumber)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
3 changes: 3 additions & 0 deletions lib/net/authorize/api/contract/v1/BatchDetailsType.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace net\authorize\api\contract\v1;

use ReturnTypeWillChange;

/**
* Class representing BatchDetailsType
*
Expand Down Expand Up @@ -263,6 +265,7 @@ public function setStatistics(array $statistics)


// Json Serialize Code
#[ReturnTypeWillChange]
public function jsonSerialize(){
$values = array_filter((array)get_object_vars($this),
function ($val){
Expand Down
Loading

0 comments on commit 5017df5

Please sign in to comment.