Skip to content

fixed stylings

fixed stylings #4

Triggered via push July 19, 2024 15:14
Status Failure
Total duration 33s
Billable time 1m
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: src/DatatableService.php#L103
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#L69
Call to an undefined method Illuminate\Contracts\Database\Query\Builder::whereHas().
phpstan: src/Filter/SearchFunctions/FilterGreaterThan.php#L12
Ternary operator condition is always false.
phpstan: src/Filter/SearchFunctions/FilterGreaterThanOrEqual.php#L12
Ternary operator condition is always false.
phpstan: src/Filter/SearchFunctions/FilterLessThan.php#L12
Ternary operator condition is always false.
phpstan: src/Filter/SearchFunctions/FilterLessThanOrEqual.php#L12
Ternary operator condition is always false.
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#L21
Unsafe usage of new static().
phpstan: src/Validators/FilterValidator.php#L60
Variable $searchFunction in isset() always exists and is not nullable.
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/