Skip to content

Create back-end.yml

Create back-end.yml #6

Triggered via pull request July 29, 2024 18:00
Status Failure
Total duration 3m 17s
Artifacts

back-end.yml

on: pull_request
1️⃣ Syntax errors
7s
1️⃣ Syntax errors
3️⃣ Static Analysis
2m 50s
3️⃣ Static Analysis
4️⃣ Coding Standards
17s
4️⃣ Coding Standards
Matrix: 2️⃣ Unit and functional tests
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 5 warnings
4️⃣ Coding Standards
Process completed with exit code 1.
4️⃣ Coding Standards
Process completed with exit code 1.
3️⃣ Static Analysis: src/StripeDriver.php#L70
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#L201
Access to an undefined property Illuminate\Database\Eloquent\Model::$driver.
3️⃣ Static Analysis: src/StripeDriver.php#L205
Access to an undefined property Illuminate\Database\Eloquent\Model::$driver.
3️⃣ Static Analysis: src/StripeDriver.php#L210
Access to an undefined property Illuminate\Database\Eloquent\Model::$key.
4️⃣ Coding Standards
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
4️⃣ Coding Standards: src/StripeDriver.php#L1
Found violation(s) of type: unary_operator_spaces
4️⃣ Coding Standards: src/StripeDriver.php#L1
Found violation(s) of type: no_unused_imports
4️⃣ Coding Standards: src/StripeDriver.php#L1
Found violation(s) of type: not_operator_with_successor_space
3️⃣ Static Analysis
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/