Upgrade Laravel 10/11 #106
Annotations
10 errors and 1 warning
src/Database/Queries/ChunkedModelQueryResult.php#L1
Ignored error pattern #^Parameter \#1 of closure expects TModel of Illuminate\\Database\\Eloquent\\Model, mixed given\.$# in path /home/runner/work/larastrict/larastrict/src/Database/Queries/ChunkedModelQueryResult.php was not matched in reported errors.
|
src/Database/Queries/ChunkedModelQueryResult.php#L1
Ignored error pattern #^Parameter \#1 of closure expects array\<int\|string\>, array\<int\<0, max\>, mixed\> given\.$# in path /home/runner/work/larastrict/larastrict/src/Database/Queries/ChunkedModelQueryResult.php was not matched in reported errors.
|
src/Database/Queries/ChunkedModelQueryResult.php#L1
Ignored error pattern #^Parameter \#2 \$callback of method Illuminate\\Database\\Eloquent\\Builder\<Illuminate\\Database\\Eloquent\\Model\>\:\:chunkById\(\) expects callable\(Illuminate\\Support\\Collection\<int, TModel\>, int\)\: mixed, Closure\(Illuminate\\Database\\Eloquent\\Collection\<int, TModel\>\)\: void given\.$# in path /home/runner/work/larastrict/larastrict/src/Database/Queries/ChunkedModelQueryResult.php was not matched in reported errors.
|
src/Database/Queries/ChunkedModelQueryResult.php#L83
Parameter #1 $ of closure expects array<int|string>, array<int<0, max>, mixed> given.
|
src/Database/Queries/ChunkedModelQueryResult.php#L106
Parameter #1 $ of closure expects TModel of Illuminate\Database\Eloquent\Model, mixed given.
|
tests/Feature/Database/Models/TestModel.php#L20
PHPDoc tag @use contains generic type Illuminate\Database\Eloquent\Factories\HasFactory<Tests\LaraStrict\Feature\Database\Models\TestModelFactory> but trait Illuminate\Database\Eloquent\Factories\HasFactory is not generic.
|
tests/Feature/Database/Models/TestNoDates.php#L19
PHPDoc tag @use contains generic type Illuminate\Database\Eloquent\Factories\HasFactory<Tests\LaraStrict\Feature\Database\Models\TestModelFactory> but trait Illuminate\Database\Eloquent\Factories\HasFactory is not generic.
|
tests/Feature/Testing/TestServiceProviderTest.php#L55
No error to ignore is reported on line 55.
|
tests/Feature/Testing/TestServiceProviderTest.php#L72
Call to method PHPUnit\Framework\Assert::assertTrue() with false will always evaluate to false.
|
tests/Feature/Testing/TestServiceProviderTest.php#L72
Instanceof between LaraStrict\Testing\Core\Services\NoSleepService and LaraStrict\Core\Services\SleepService will always evaluate to false.
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading