Skip to content

Upgrade laravel to v11. #63

Upgrade laravel to v11.

Upgrade laravel to v11. #63

Triggered via pull request July 27, 2024 07:45
Status Failure
Total duration 1m 37s
Artifacts

ci.yml

on: pull_request
Composer Validate
2s
Composer Validate
Tests Frontend
16s
Tests Frontend
Composer Install
22s
Composer Install
Static Analysis
51s
Static Analysis
Test Backend
45s
Test Backend
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
Test Backend
Process completed with exit code 2.
Static Analysis: app/Admin.php#L19
PHPDoc type array<string> of property App\Admin::$fillable is not covariant with PHPDoc type array<int, string> of overridden property Illuminate\Database\Eloquent\Model::$fillable.
Static Analysis: app/Http/Controllers/CheckoutController.php#L58
Parameter #1 $user of method App\Repositories\OrderRepository::createOrder() expects App\User, App\Admin|App\User|null given.
Static Analysis: app/Order.php#L32
PHPDoc type array<string> of property App\Order::$fillable is not covariant with PHPDoc type array<int, string> of overridden property Illuminate\Database\Eloquent\Model::$fillable.
Static Analysis: app/PaymentMethod.php#L34
PHPDoc type array<string> of property App\PaymentMethod::$fillable is not covariant with PHPDoc type array<int, string> of overridden property Illuminate\Database\Eloquent\Model::$fillable.
Static Analysis: app/Repositories/OrderRepository.php#L79
Parameter #1 $models of method Illuminate\Database\Eloquent\Relations\HasOneOrMany<App\Dispatch>::saveMany() expects iterable<App\Dispatch>, array<int, App\Payment> given.
Static Analysis: app/User.php#L25
PHPDoc type array<string> of property App\User::$fillable is not covariant with PHPDoc type array<int, string> of overridden property Illuminate\Database\Eloquent\Model::$fillable.
Static Analysis: app/User.php#L43
Parameter #1 $related of method Illuminate\Database\Eloquent\Model::hasMany() expects class-string<Illuminate\Database\Eloquent\Model>, string given.
Static Analysis: app/User.php#L43
Unable to resolve the template type TRelatedModel in call to method Illuminate\Database\Eloquent\Model::hasMany()
Static Analysis: database/migrations/2017_10_08_113015_create_products_table.php#L20
Method Illuminate\Database\Schema\Blueprint::float() invoked with 3 parameters, 1-2 required.
Static Analysis: database/migrations/2017_10_08_114109_create_orders_table.php#L19
Method Illuminate\Database\Schema\Blueprint::float() invoked with 3 parameters, 1-2 required.
Composer Validate
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/
Composer Validate
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/
Tests Frontend
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/
Tests Frontend
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/
Composer Install
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/
Composer Install
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/
Test Backend
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/
Test Backend
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/
Static Analysis
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/
Static Analysis
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/