fixed bug in sorting test #6
Annotations
10 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/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#L19
Unsafe usage of new static().
|
phpstan:
src/Validators/FilterValidator.php#L58
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/
|