Skip to content

fixed some type check issues #9

fixed some type check issues

fixed some type check issues #9

Triggered via push August 5, 2024 07:30
Status Failure
Total duration 1m 12s
Billable time 2m
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
phpstan: src/DatatableService.php#L104
Call to an undefined method Illuminate\Contracts\Database\Query\Builder::with().
phpstan: src/Facades/Datatable.php#L25
PHPDoc tag @throws with type HamidRrj\LaravelDatatable\Exceptions\InvalidParameterInterface is not subtype of Throwable
phpstan: src/Filter/ApplyFilter.php#L68
Call to an undefined method Illuminate\Contracts\Database\Query\Builder::whereHas().
phpstan: src/Sort/Sort.php#L17
PHPDoc tag @throws with type HamidRrj\LaravelDatatable\Sort\InvalidSortingException is not subtype of Throwable
phpstan: src/Validators/FilterValidator.php#L19
Unsafe usage of new static().
phpstan: src/Validators/SortingValidator.php#L17
Unsafe usage of new static().
phpstan
Process completed with exit code 1.
phpstan
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, 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/