Skip to content

Fix stan

Fix stan #49

Triggered via push July 26, 2024 06:53
Status Failure
Total duration 2m 36s
Artifacts 1

style.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
style: app/Models/Schema.php#L121
Access to an undefined property App\Models\Schema::$max.
style: app/Models/Schema.php#L125
Access to an undefined property App\Models\Schema::$min.
style: app/Rules/OptionAvailable.php#L22
Call to an undefined method Illuminate\Support\Collection<int, App\Models\Option>::find().
style: app/Services/ProductService.php#L186
Parameter #2 $schemas of method Domain\ProductSchema\Services\SchemaService::sync() expects array<int, Domain\ProductSchema\Models\Schema>, array<string> given.
style: app/Services/ProductService.php#L291
Match arm comparison between int and App\Enums\SchemaType::SELECT is always false.
style
Process completed with exit code 1.
style
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
style
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Artifacts

Produced during runtime
Name Size
style-vendor Expired
40.9 MB