wip #13
back-end.yml
on: push
1️⃣ Syntax errors
12s
Matrix: 2️⃣ Unit and functional tests
Annotations
6 errors
|
3️⃣ Static Analysis:
src/StripeDriver.php#L209
Access to an undefined property Illuminate\Database\Eloquent\Model::$key.
|
|
3️⃣ Static Analysis:
src/StripeDriver.php#L208
Parameter #1 $params of method Stripe\Service\RefundService::create() expects array{amount?: int, charge?: string, currency?: string, customer?: string, expand?: array<string>, instructions_email?: string, metadata?: array<string, string>|null, origin?: string, ...}|null, array{payment_intent: mixed, amount: float, metadata: array{order: string}} given.
|
|
3️⃣ Static Analysis:
src/StripeDriver.php#L204
Access to an undefined property Illuminate\Database\Eloquent\Model::$driver.
|
|
3️⃣ Static Analysis:
src/StripeDriver.php#L200
Access to an undefined property Illuminate\Database\Eloquent\Model::$driver.
|
|
3️⃣ Static Analysis:
src/StripeDriver.php#L67
Parameter #1 $callback of method Illuminate\Database\Eloquent\Collection<int,Illuminate\Database\Eloquent\Model>::map() expects callable(Illuminate\Database\Eloquent\Model, int): array{price_data: array{currency: lowercase-string, product_data: array{name: string}, unit_amount: float}, quantity: float}, Closure(Cone\Bazar\Interfaces\LineItem): array{price_data: array{currency: lowercase-string, product_data: array{name: string}, unit_amount: float}, quantity: float} given.
|
|
3️⃣ Static Analysis:
src/StripeDriver.php#L66
Access to an undefined property Illuminate\Database\Eloquent\Model::$email.
|