elisei/pagbank-payment-magento

View on GitHub

Showing 148 of 148 total issues

Possibly zero references to use statement for classlike/namespace PaymentDataObject (\Magento\Payment\Gateway\Data\PaymentDataObject)
Open

use Magento\Payment\Gateway\Data\PaymentDataObject;

Possibly zero references to use statement for classlike/namespace PaymentDataObject (\Magento\Payment\Gateway\Data\PaymentDataObject)
Open

use Magento\Payment\Gateway\Data\PaymentDataObject;

Possibly zero references to use statement for classlike/namespace PaymentDataObject (\Magento\Payment\Gateway\Data\PaymentDataObject)
Open

use Magento\Payment\Gateway\Data\PaymentDataObject;

Possibly zero references to use statement for classlike/namespace PaymentDataObject (\Magento\Payment\Gateway\Data\PaymentDataObject)
Open

use Magento\Payment\Gateway\Data\PaymentDataObject;

When fetching an array index from a value of type string, found an array index of type 'expires_at', but expected the index to be of type int
Open

            $data->setExpiresAt($session['expires_at']);
Severity: Minor
Found in Model/Api/ThreeDsSession.php by phan

Returning type ?array{code:mixed,title:\Magento\Framework\Phrase,value:mixed} but fetch() is declared to return array
Open

        return $result;

Argument 1 (str) is \Magento\Framework\Phrase but \nl2br() takes string
Open

                    'instruction_checkout' => nl2br($this->getInstruction($storeId)),
Severity: Minor
Found in Model/Ui/ConfigProviderDeepLink.php by phan

Doc-block of $handler in __construct is phpdoc param type \Magento\Payment\Gateway\Response\HandlerInterface which is not a permitted replacement of the nullable param type ?\Magento\Payment\Gateway\Response\HandlerInterface declared in the signature ('?T' should be documented as 'T|null' or '?T')
Open

     * @param HandlerInterface                 $handler
Severity: Minor
Found in Gateway/Command/PaymentCommand.php by phan

Possibly zero references to use statement for classlike/namespace PaymentDataObject (\Magento\Payment\Gateway\Data\PaymentDataObject)
Open

use Magento\Payment\Gateway\Data\PaymentDataObject;

Possibly zero references to use statement for classlike/namespace PaymentDataObject (\Magento\Payment\Gateway\Data\PaymentDataObject)
Open

use Magento\Payment\Gateway\Data\PaymentDataObject;

Possibly zero references to use statement for classlike/namespace LocalizedException (\Magento\Framework\Exception\LocalizedException)
Open

use Magento\Framework\Exception\LocalizedException;

Doc-block of getCreditCardType has declared return type string which is not a permitted replacement of the nullable return type ?string declared in the signature ('?T' should be documented as 'T|null' or '?T')
Open

     * @return string

Possibly zero references to use statement for classlike/namespace LaminasClient (\Magento\Framework\HTTP\LaminasClient)
Open

use Magento\Framework\HTTP\LaminasClient;
Severity: Minor
Found in Model/Api/ConsultPSInstallments.php by phan

Saw unextractable annotation for comment '* @return $proceed'
Open

     * @return $proceed
Severity: Info
Found in Plugin/PaymentToken.php by phan

Argument 1 (order) is \Magento\Framework\Controller\ResultInterface|\Magento\Sales\Model\OrderRepository but \PagBank\PaymentMagento\Controller\Notification\All::processNotification() takes \PagBank\PaymentMagento\Controller\Notification\OrderRepository defined at /code/Controller/Notification/All.php:161
Open

            $process = $this->processNotification($order);
Severity: Minor
Found in Controller/Notification/All.php by phan

Possibly zero references to use statement for classlike/namespace PaymentDataObject (\Magento\Payment\Gateway\Data\PaymentDataObject)
Open

use Magento\Payment\Gateway\Data\PaymentDataObject;
Severity: Minor
Found in Gateway/Request/AmountDataRequest.php by phan

Possibly zero references to use statement for classlike/namespace PaymentDataObject (\Magento\Payment\Gateway\Data\PaymentDataObject)
Open

use Magento\Payment\Gateway\Data\PaymentDataObject;

Doc-block of getCreditCardType has declared return type string which is not a permitted replacement of the nullable return type ?string declared in the signature ('?T' should be documented as 'T|null' or '?T')
Open

     * @return string
Severity: Minor
Found in Gateway/Response/TxnDataCcHandler.php by phan

Argument 3 (amount) is float but \PagBank\PaymentMagento\Model\Api\ConsultPSInstallments::getPagBankInstallments() takes string defined at /code/Model/Api/ConsultPSInstallments.php:83
Open

            $amount

Possibly zero references to use statement for classlike/namespace PaymentDataObject (\Magento\Payment\Gateway\Data\PaymentDataObject)
Open

use Magento\Payment\Gateway\Data\PaymentDataObject;
Severity: Minor
Found in Gateway/Request/MetadataRequest.php by phan
Severity
Category
Status
Source
Language