Showing 265 of 271 total issues
Property \tuyakhov\braintree\BraintreeForm->lastError
has undeclared type \Braintree\Result\Error
(Did you mean class \Error) Open
Open
public $lastError;
- Exclude checks
Reference to static property app
from undeclared class \Yii
Open
Open
return Yii::$app->get('braintree');
- Exclude checks
Possibly zero references to public method \tuyakhov\braintree\BraintreeForm::sale()
Open
Open
public function sale()
- Exclude checks
Possibly zero references to public method \tuyakhov\braintree\BraintreeForm::saleFromVault()
Open
Open
public function saleFromVault()
- Exclude checks
Return type of parseWebhookNotification()
is undeclared type \Braintree\WebhookNotification
Open
Open
public function parseWebhookNotification(string $signature, $payload): WebhookNotification
- Exclude checks
Parameter $result
has undeclared type \Braintree\Result\Error
(Did you mean class \Error) Open
Open
public function addErrorFromResponse(Error $result)
- Exclude checks
Call to undeclared method \tuyakhov\braintree\BraintreeForm::addError
Open
Open
$this->addError('creditCard_number', $result->message);
- Exclude checks
Reference to static property app
from undeclared class \Yii
Open
Open
$braintree = Yii::$app->get('braintree');
- Exclude checks
Return type of findCustomer()
is undeclared type \Braintree\Customer
Open
Open
public function findCustomer(string $customerId): Customer
- Exclude checks
Return type of updateSubscription()
is undeclared type \Braintree\Result\Error
(Did you mean class \Error) Open
Open
public function updateSubscription(string $subscriptionId, array $params)
- Exclude checks
Possibly zero references to public property \tuyakhov\braintree\BraintreeForm->billing_firstName
Open
Open
public $billing_firstName;
- Exclude checks
Possibly zero references to public property \tuyakhov\braintree\BraintreeForm->billing_lastName
Open
Open
public $billing_lastName;
- Exclude checks
Possibly zero references to public property \tuyakhov\braintree\BraintreeForm->shipping_company
Open
Open
public $shipping_company;
- Exclude checks
Possibly zero read references to public property \tuyakhov\braintree\BraintreeForm->lastError
Open
Open
public $lastError;
- Exclude checks
Possibly zero references to public method \tuyakhov\braintree\BraintreeForm::saleWithPaymentNonce()
Open
Open
public function saleWithPaymentNonce($amount, $paymentMethodNonce)
- Exclude checks
Possibly zero references to public method \tuyakhov\braintree\BraintreeForm::findCustomer()
Open
Open
public function findCustomer(string $customerId): Customer
- Exclude checks
Possibly zero references to public method \tuyakhov\braintree\BraintreeForm::cancelSubscription()
Open
Open
public function cancelSubscription(string $subscriptionId): array
- Exclude checks
Reference to instance property success
from undeclared class \Braintree\Result\Error
Open
Open
return ['status' => $result->success, 'result' => $result];
- Exclude checks
Possibly zero references to use statement for classlike/namespace ValidationErrorCollection
(\Braintree\Error\ValidationErrorCollection)
Open
Open
use Braintree\Error\ValidationErrorCollection;
- Exclude checks
Call to undeclared method \tuyakhov\braintree\BraintreeForm::hasErrors
Open
Open
if (!$this->hasErrors()) {
- Exclude checks