dmitry-kulikov/yii2-braintree

View on GitHub

Showing 265 of 271 total issues

Return type of findMerchant() is undeclared type \Braintree\MerchantAccount
Open

    public function findMerchant(string $merchantId): MerchantAccount
Severity: Minor
Found in src/BraintreeForm.php by phan

Return type of findSubscription() is undeclared type \Braintree\Subscription
Open

    public function findSubscription(string $subscriptionId): Subscription
Severity: Minor
Found in src/BraintreeForm.php by phan

Possibly zero references to public method \tuyakhov\braintree\BraintreeForm::searchTransaction()
Open

    public function searchTransaction($params = []): ResourceCollection
Severity: Minor
Found in src/BraintreeForm.php by phan

Call to undeclared method \tuyakhov\braintree\BraintreeForm::addError
Open

            $this->addError('creditCard_number', $error->message);
Severity: Critical
Found in src/BraintreeForm.php by phan

Call to undeclared method \tuyakhov\braintree\BraintreeForm::addError
Open

                        $this->addError($key . '_' . $error->attribute, $error->message);
Severity: Critical
Found in src/BraintreeForm.php by phan

Return type of searchSubscription() is undeclared type \Braintree\ResourceCollection
Open

    public function searchSubscription($params = []): ResourceCollection
Severity: Minor
Found in src/Braintree.php by phan

Possibly zero references to public property \tuyakhov\braintree\BraintreeForm->amount
Open

    public $amount;
Severity: Minor
Found in src/BraintreeForm.php by phan

Possibly zero references to public property \tuyakhov\braintree\BraintreeForm->billing_postalCode
Open

    public $billing_postalCode;
Severity: Minor
Found in src/BraintreeForm.php by phan

Possibly zero references to public property \tuyakhov\braintree\BraintreeForm->shipping_lastName
Open

    public $shipping_lastName;
Severity: Minor
Found in src/BraintreeForm.php by phan

Return type of searchTransaction() is undeclared type \Braintree\ResourceCollection
Open

    public function searchTransaction($params = []): ResourceCollection
Severity: Minor
Found in src/BraintreeForm.php by phan

Possibly zero references to public method \tuyakhov\braintree\BraintreeForm::parseWebhookNotification()
Open

    public function parseWebhookNotification(string $signature, $payload): WebhookNotification
Severity: Minor
Found in src/BraintreeForm.php by phan

Reference to instance property message from undeclared class \Braintree\Result\Error
Open

            $this->addError('creditCard_number', $result->message);
Severity: Minor
Found in src/BraintreeForm.php by phan

Possibly zero references to public property \tuyakhov\braintree\BraintreeAsset->js
Open

    public $js = [
Severity: Minor
Found in src/BraintreeAsset.php by phan

Possibly zero references to public property \tuyakhov\braintree\BraintreeForm->orderId
Open

    public $orderId;
Severity: Minor
Found in src/BraintreeForm.php by phan

Possibly zero references to public property \tuyakhov\braintree\BraintreeForm->customer_fax
Open

    public $customer_fax;
Severity: Minor
Found in src/BraintreeForm.php by phan

Possibly zero references to public method \tuyakhov\braintree\BraintreeForm::rules()
Open

    public function rules(): array
Severity: Minor
Found in src/BraintreeForm.php by phan

Possibly zero references to public method \tuyakhov\braintree\BraintreeForm::findSubscription()
Open

    public function findSubscription(string $subscriptionId): Subscription
Severity: Minor
Found in src/BraintreeForm.php by phan

Reference to instance property errors from undeclared class \Braintree\Result\Error
Open

        $errors = $result->errors;
Severity: Minor
Found in src/BraintreeForm.php by phan

Return type of findSubscription() is undeclared type \Braintree\Subscription
Open

    public function findSubscription(string $subscriptionId): Subscription
Severity: Minor
Found in src/Braintree.php by phan

Possibly zero write references to public property \tuyakhov\braintree\BraintreeForm->customer_firstName
Open

    public $customer_firstName;
Severity: Minor
Found in src/BraintreeForm.php by phan
Severity
Category
Status
Source
Language