Skip to content

fix: static analysis #1456

fix: static analysis

fix: static analysis #1456

Triggered via pull request January 21, 2025 03:02
@yajrayajra
synchronize #3213
ci-patch
Status Failure
Total duration 29s
Artifacts

static-analysis.yml

on: pull_request
Matrix: Static Analysis with PHPStan
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Static Analysis with PHPStan (8.4, prefer-stable): src/QueryDataTable.php#L137
Method Yajra\DataTables\QueryDataTable::results() should return Illuminate\Support\Collection<int, array> but returns Illuminate\Support\Collection<int, stdClass>.
Static Analysis with PHPStan (8.4, prefer-stable)
Process completed with exit code 1.
Static Analysis with PHPStan (8.2, prefer-stable)
The job was canceled because "_8_4_prefer-stable" failed.
Static Analysis with PHPStan (8.2, prefer-stable): src/QueryDataTable.php#L137
Method Yajra\DataTables\QueryDataTable::results() should return Illuminate\Support\Collection<int, array> but returns Illuminate\Support\Collection<int, stdClass>.
Static Analysis with PHPStan (8.2, prefer-stable)
Process completed with exit code 1.
Static Analysis with PHPStan (8.3, prefer-stable)
The job was canceled because "_8_4_prefer-stable" failed.
Static Analysis with PHPStan (8.3, prefer-stable): src/QueryDataTable.php#L137
Method Yajra\DataTables\QueryDataTable::results() should return Illuminate\Support\Collection<int, array> but returns Illuminate\Support\Collection<int, stdClass>.
Static Analysis with PHPStan (8.3, prefer-stable)
Process completed with exit code 1.
Static Analysis with PHPStan (8.4, prefer-stable)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636