Skip to content

Commit

Permalink
Merge pull request #5384 from magento-tsg/2.3-develop-pr108
Browse files Browse the repository at this point in the history
[TSG] Fixes for 2.3 (pr108) (2.3-develop)
  • Loading branch information
zakdma authored Feb 26, 2020
2 parents 8ead858 + 082ff7a commit 06337ef
Show file tree
Hide file tree
Showing 81 changed files with 295 additions and 90 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
*
* @api
* @since 100.2.0
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
interface CaseCreationServiceInterface
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Signifyd/Api/CaseManagementInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
*
* @api
* @since 100.2.0
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
interface CaseManagementInterface
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Signifyd/Api/CaseRepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
*
* @api
* @since 100.2.0
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
interface CaseRepositoryInterface
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Signifyd/Api/Data/CaseInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
* @api
* @see https://www.signifyd.com/docs/api/#/reference/cases/retrieve-a-case/get-a-case
* @since 100.2.0
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
interface CaseInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
*
* @api
* @since 100.2.0
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
interface CaseSearchResultsInterface extends SearchResultsInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
*
* @api
* @since 100.2.0
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
interface GuaranteeCancelingServiceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
*
* @api
* @since 100.2.0
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
interface GuaranteeCreationServiceInterface
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Signifyd/Block/Adminhtml/CaseInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*
* @api
* @since 100.2.0
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CaseInfo extends Template
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

/**
* Input field transformed to text node with link to store Signifyd webhooks controller.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class WebhookUrl extends Field
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

/**
* Fieldset renderer with url attached to comment.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class Info extends Fieldset
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Signifyd/Block/Fingerprint.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* @api
* @see https://www.signifyd.com/docs/api/#/reference/device-fingerprint/create-a-case
* @since 100.2.0
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class Fingerprint extends Template
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Signifyd/Controller/Webhooks/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
* Responsible for handling webhook posts from Signifyd service.
*
* @see https://www.signifyd.com/docs/api/#/reference/webhooks/
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class Handler extends Action implements \Magento\Framework\App\CsrfAwareActionInterface
{
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Signifyd/Model/CaseEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

/**
* Implementation of Signifyd Case interface.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CaseEntity extends AbstractModel implements CaseInterface
{
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Signifyd/Model/CaseManagement.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
/**
*
* Default case management implementation
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CaseManagement implements CaseManagementInterface
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Signifyd/Model/CaseRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* Repository for Case interface
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CaseRepository implements CaseRepositoryInterface
{
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Signifyd/Model/CaseSearchResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

/**
* Service Data Object with Case entities search results.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CaseSearchResults extends SearchResults implements CaseSearchResultsInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
* Case Creation Service
*
* Creates new Case entity and register it at Signifyd
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CreationService implements CaseCreationServiceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
/**
* Stub implementation for case updating service interface and might be used
* for test Signifyd webhooks
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class StubUpdatingService implements UpdatingServiceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

/**
* Performs Signifyd case entity updating operations.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class UpdatingService implements UpdatingServiceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
* Creates instance of case updating service configured with specific message generator.
* The message generator initialization depends on specified type (like, case creation, re-scoring, review and
* guarantee completion).
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class UpdatingServiceFactory
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

/**
* Common abstraction to perform updating operations with Signifyd case entity.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
interface UpdatingServiceInterface
{
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Signifyd/Model/CommentsHistoryUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@

/**
* Updates case order comments history.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CommentsHistoryUpdater
{
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Signifyd/Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
* Signifyd integration configuration.
*
* Class is a proxy service for retrieving configuration settings.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class Config
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Signifyd/Model/CustomerOrders.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
* Provides information about customer orders.
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CustomerOrders
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

/**
* Checks if is possible to cancel Guarantee for order.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CancelGuaranteeAbility
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@

/**
* Sends request to Signifyd to cancel guarantee and updates case entity.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CancelingService implements GuaranteeCancelingServiceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

/**
* Checks if is possible to create Guarantee for order.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CreateGuaranteeAbility
{
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Signifyd/Model/Guarantee/CreationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

/**
* Register guarantee at Signifyd and updates case entity
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CreationService implements GuaranteeCreationServiceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

/**
* Generates message based on previous and current Case scores.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class CaseRescore implements GeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
*
* @api
* @since 100.2.0
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class GeneratorException extends LocalizedException
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@

/**
* Creates instance of message generator based on received type of message.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class GeneratorFactory
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
/**
* Represents common abstraction for Signifyd Case/Guarantee messages.
* Each interface implementation might use Case/Guarantee data to generate specific message.
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
interface GeneratorInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
* placeholders, for example:
* Message is 'Case Update: New score for the order is %1. Previous score was %2.', then the required params order
* should be ['new_score', 'prev_score'].
*
* @deprecated Starting from Magento 2.3.5 Signifyd core integration is deprecated in favor of
* official Signifyd integration available on the marketplace
*/
class PatternGenerator implements GeneratorInterface
{
Expand Down
Loading

0 comments on commit 06337ef

Please sign in to comment.