GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 33-33 lines in 3 locations

src/eBayEnterprise/RetailOrderManagement/Payload/Order/ProxyPickupDetails.php 1 location

@@ 55-87 (lines=33) @@
52
     * @param IPayload
53
     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
54
     */
55
    public function __construct(
56
        IValidatorIterator $validators,
57
        ISchemaValidator $schemaValidator,
58
        IPayloadMap $payloadMap,
59
        LoggerInterface $logger,
60
        IPayload $parentPayload = null
61
    ) {
62
        $this->logger = $logger;
63
        $this->validators = $validators;
64
        $this->schemaValidator = $schemaValidator;
65
        $this->parentPayload = $parentPayload;
66
67
        $this->extractionPaths = [
68
            'fullName' => 'string(x:PersonName)',
69
            'firstName' => 'string(x:FirstName)',
70
            'lastName' => 'string(x:LastName)',
71
        ];
72
        $this->optionalExtractionPaths = [
73
            'email' => 'x:Email',
74
            'phone' => 'x:Phone',
75
            'city' => 'x:Address/x:City',
76
            'mainDivision' => 'x:Address/x:MainDivision',
77
            'countryCode' => 'x:Address/x:CountryCode',
78
            'postalCode' => 'x:Address/x:PostalCode',
79
            'relationship' => 'x:Relationship',
80
        ];
81
        $this->addressLinesExtractionMap = [
82
            [
83
                'property' => 'lines',
84
                'xPath' => 'x:Address/*[starts-with(name(), "Line")]'
85
            ],
86
        ];
87
    }
88
89
    public function getFullName()
90
    {

src/eBayEnterprise/RetailOrderManagement/Payload/Order/StoreFrontDetails.php 1 location

@@ 54-86 (lines=33) @@
51
     * @param IPayload
52
     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
53
     */
54
    public function __construct(
55
        IValidatorIterator $validators,
56
        ISchemaValidator $schemaValidator,
57
        IPayloadMap $payloadMap,
58
        LoggerInterface $logger,
59
        IPayload $parentPayload = null
60
    ) {
61
        $this->logger = $logger;
62
        $this->validators = $validators;
63
        $this->parentPayload = $parentPayload;
64
65
        $this->extractionPaths = [
66
            'city' => 'string(x:StoreFrontLocation/x:Address/x:City)',
67
            'countryCode' => 'string(x:StoreFrontLocation/x:Address/x:CountryCode)',
68
        ];
69
        $this->optionalExtractionPaths = [
70
            'id' => 'x:StoreFrontLocation/@id',
71
            'mainDivision' => 'x:StoreFrontLocation/x:Address/x:MainDivision',
72
            'postalCode' => 'x:StoreFrontLocation/x:Address/x:PostalCode',
73
            'storeCode' => 'x:StoreFrontLocation/x:StoreCode',
74
            'storeName' => 'x:StoreFrontLocation/x:StoreName',
75
            'emailAddress' => 'x:StoreFrontLocation/x:StoreEmail',
76
            'directions' => 'x:StoreDirections',
77
            'hours' => 'x:StoreHours',
78
            'phoneNumber' => 'x:StoreFrontPhoneNumber',
79
        ];
80
        $this->addressLinesExtractionMap = [
81
            [
82
                'property' => 'lines',
83
                'xPath' => 'x:StoreFrontLocation/x:Address/*[starts-with(name(), "Line")]'
84
            ],
85
        ];
86
    }
87
88
    public function getId()
89
    {

src/eBayEnterprise/RetailOrderManagement/Payload/Payment/CreditCardAuthReply.php 1 location

@@ 71-103 (lines=33) @@
68
     * @param IPayload
69
     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
70
     */
71
    public function __construct(
72
        IValidatorIterator $validators,
73
        ISchemaValidator $schemaValidator,
74
        IPayloadMap $payloadMap,
75
        LoggerInterface $logger,
76
        IPayload $parentPayload = null
77
    ) {
78
        $this->logger = $logger;
79
        $this->validators = $validators;
80
        $this->schemaValidator = $schemaValidator;
81
        $this->parentPayload = $parentPayload;
82
83
        $this->extractionPaths = [
84
            'orderId' => 'string(x:PaymentContext/x:OrderId)',
85
            'cardNumber' =>
86
                'string(x:PaymentContext/x:EncryptedPaymentAccountUniqueId|x:PaymentContext/x:PaymentAccountUniqueId)',
87
            'authorizationResponseCode' => 'string(x:AuthorizationResponseCode)',
88
            'bankAuthorizationCode' => 'string(x:BankAuthorizationCode)',
89
            'cvv2ResponseCode' => 'string(x:CVV2ResponseCode)',
90
            'avsResponseCode' => 'string(x:AVSResponseCode)',
91
            'amountAuthorized' => 'number(x:AmountAuthorized)',
92
            'currencyCode' => 'string(x:AmountAuthorized/@currencyCode)',
93
            'isEncrypted' => 'boolean(x:PaymentContext/x:EncryptedPaymentAccountUniqueId)',
94
        ];
95
        $this->booleanExtractionPaths = [
96
            'panIsToken' => 'string(x:PaymentContext/x:PaymentAccountUniqueId/@isToken)'
97
        ];
98
        $this->optionalExtractionPaths = [
99
            'phoneResponseCode' => 'x:PhoneResponseCode',
100
            'nameResponseCode' => 'x:NameResponseCode',
101
            'emailResponseCode' => 'x:EmailResponseCode',
102
        ];
103
    }
104
105
    public function getIsAVSCorrectionRequired()
106
    {