-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from payfort/Release-Feature
PHP7.3 functions are deprecated
- Loading branch information
Showing
118 changed files
with
738 additions
and
587 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/** | ||
* Cron Command | ||
* php version 7.3.* | ||
* php version 8.2.* | ||
* | ||
* @category Amazonpaymentservices | ||
* @package Amazonpaymentservices_Fort | ||
|
@@ -15,7 +15,7 @@ | |
|
||
/** | ||
* Cron Command | ||
* php version 7.3.* | ||
* php version 8.2.* | ||
* | ||
* @author Amazonpaymentservices <[email protected]> | ||
* @license GNU / GPL v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/** | ||
* Host To Host Url | ||
* php version 7.3.* | ||
* php version 8.2.* | ||
* | ||
* @category Amazonpaymentservices | ||
* @package Amazonpaymentservices_Fort | ||
|
@@ -15,7 +15,7 @@ | |
|
||
/** | ||
* Host To Host Url | ||
* php version 7.3.* | ||
* php version 8.2.* | ||
* | ||
* @author Amazonpaymentservices <[email protected]> | ||
* @license GNU / GPL v3 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<?php | ||
/** | ||
* Before Order Place Observer | ||
* php version 7.3.* | ||
* php version 8.2.* | ||
* | ||
* @category Amazonpaymentservices | ||
* @package Amazonpaymentservices_Fort | ||
|
@@ -18,7 +18,7 @@ | |
|
||
/** | ||
* Block Info | ||
* php version 7.3.* | ||
* php version 8.2.* | ||
* | ||
* @author Amazonpaymentservices <[email protected]> | ||
* @license GNU / GPL v3 | ||
|
@@ -46,10 +46,9 @@ protected function getLabel($field) | |
*/ | ||
protected function getValueView($field, $value) | ||
{ | ||
switch ($field) { | ||
case FraudHandler::FRAUD_MSG_LIST: | ||
return implode('; ', $value); | ||
} | ||
return parent::getValueView($field, $value); | ||
return match ($field) { | ||
FraudHandler::FRAUD_MSG_LIST => implode('; ', $value), | ||
default => parent::getValueView($field, $value), | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.