dmitry-kulikov/yii2-braintree

View on GitHub

Showing 265 of 271 total issues

Possibly zero references to public method \tuyakhov\braintree\Braintree::getClientToken()
Open

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

Return type of getPlanById() is undeclared type \Braintree\Plan
Open

    public function getPlanById(string $planId, bool $allowCaching = true): ?Plan
Severity: Minor
Found in src/Braintree.php by phan

Possibly zero references to public method \tuyakhov\braintree\Braintree::findTransaction()
Open

    public function findTransaction(string $id): Transaction
Severity: Minor
Found in src/Braintree.php by phan

Call to method find from undeclared class \Braintree\Transaction
Open

        return Transaction::find($id);
Severity: Critical
Found in src/Braintree.php by phan

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

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

Return type of createSubscription() is undeclared type \Braintree\Result\Error (Did you mean class \Error)
Open

    public function createSubscription(array $params)
Severity: Minor
Found in src/Braintree.php by phan

Return type of updateSubscription() is undeclared type \Braintree\Result\Successful
Open

    public function updateSubscription(string $subscriptionId, array $params)
Severity: Minor
Found in src/Braintree.php by phan

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

    public $sourcePath = '@npm/braintree-web/dist';
Severity: Minor
Found in src/BraintreeAsset.php by phan

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

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

Return type of findCustomer() is undeclared type \Braintree\Customer
Open

    public function findCustomer(string $customerId): Customer
Severity: Minor
Found in src/BraintreeForm.php by phan

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

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

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

        return ['status' => $result->success, 'result' => $result];
Severity: Minor
Found in src/BraintreeForm.php by phan

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

    public function retryChargeSubscription(string $subscriptionId, $amount)
Severity: Minor
Found in src/BraintreeForm.php by phan

Possibly zero references to public method \tuyakhov\braintree\UrlManager::viewPlans()
Open

    public function viewPlans(): string
Severity: Minor
Found in src/UrlManager.php by phan

Return type of parseWebhookNotification() is undeclared type \Braintree\WebhookNotification
Open

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

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

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

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

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

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

    public $customer_lastName;
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

Possibly zero references to public method \tuyakhov\braintree\UrlManager::viewPlan()
Open

    public function viewPlan(string $planId): string
Severity: Minor
Found in src/UrlManager.php by phan
Severity
Category
Status
Source
Language