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

[REF][PHP8.2] Fix PHP8.2 creation of dynamic properties in the elavon… #25353

Merged
merged 1 commit into from
Jan 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions ext/elavon/CRM/Core/Payment/Elavon.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@
*/
class CRM_Core_Payment_Elavon extends CRM_Core_Payment {

/**
* Payment Processor Mode
* either test or live
* @var string
*/
protected $_mode;

/**
* Constructor.
*
Expand Down
12 changes: 12 additions & 0 deletions ext/elavon/tests/phpunit/CRM/Core/Payment/ElavonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ class CRM_Core_Payment_ElavonTest extends \PHPUnit\Framework\TestCase implements
use \Civi\Test\GuzzleTestTrait;
use \Civi\Test\Api3TestTrait;

/**
* Instance of CRM_Core_Payment_Elavon|null
* @var CRM_Core_Payment_Elavon
*/
protected $processor;

/**
* Created Object Ids
* @var array
*/
public $ids;

/**
* Setup used when HeadlessInterface is implemented.
*
Expand Down