Skip to content

Create back-end.yml

Create back-end.yml #5

Triggered via pull request February 19, 2024 18:35
Status Success
Total duration 59s
Artifacts

back-end.yml

on: pull_request
1️⃣ Syntax errors
12s
1️⃣ Syntax errors
3️⃣ Static Analysis
30s
3️⃣ Static Analysis
4️⃣ Coding Standards
15s
4️⃣ Coding Standards
Matrix: 2️⃣ Unit and functional tests
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
3️⃣ Static Analysis: src/StripeDriver.php#L71
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: string, product_data: array{name: string}, unit_amount: float}, quantity: float}, Closure(Cone\Bazar\Interfaces\LineItem): array{price_data: array{currency: string, product_data: array{name: string}, unit_amount: float}, quantity: float} given.
3️⃣ Static Analysis: src/StripeDriver.php#L181
Access to an undefined property Illuminate\Database\Eloquent\Model::$transaction.
3️⃣ Static Analysis: src/StripeDriver.php#L195
Access to an undefined property Illuminate\Database\Eloquent\Model::$uuid.
4️⃣ Coding Standards
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
3️⃣ Static Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.