Skip to content

Commit

Permalink
fix: Make Extension Compatible With Dynamic Property Deprecation in P…
Browse files Browse the repository at this point in the history
…HP 8.2 (#33)

* fix: Remove dynamic property to ensure PHP 8.2 compatibility

* fix: Make cron jobs compatible with PHP8.2
  • Loading branch information
soleilcot committed Aug 21, 2023
1 parent 8bd3525 commit 6968aa0
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Api/Request/Handler/AbstractHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ class AbstractHandler
*/
protected $logger;

/**
* @var \Magento\Framework\HTTP\Client\Curl $curl
*/
protected $_curl;

/**
* AbstractHandler constructor.
* @param \NoFraud\Connect\Logger\Logger $logger
Expand Down
4 changes: 4 additions & 0 deletions Cron/NotifyNofauad.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ class NotifyNofauad
* @var transportBuilder
*/
protected $transportBuilder;
/**
* @var orderCollectionFactory
*/
protected $orderCollectionFactory;
/**
* @var inlineTranslation
*/
Expand Down
4 changes: 4 additions & 0 deletions Cron/OrderFraudStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ class OrderFraudStatus
* @var RequestHandler
*/
private $requestHandler;
/**
* @var DataHelper
*/
private $dataHelper;
/**
* @var ConfigHelper
*/
Expand Down
5 changes: 5 additions & 0 deletions Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ class Data extends \Magento\Framework\App\Helper\AbstractHelper
*/
protected $logDirectory;

/**
* @var DirectoryList
*/
protected $directoryList;

/**
* Constructor
*
Expand Down

0 comments on commit 6968aa0

Please sign in to comment.