Skip to content
Triggered via push August 16, 2024 08:28
Status Failure
Total duration 40s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
PHPStan: src/Console/ApiableDocgenCommand.php#L117
Variable $formatOptions in empty() always exists and is not falsy.
PHPStan: src/Documentation/Generator.php#L33
Negated boolean expression is always false.
PHPStan: src/Documentation/Generator.php#L33
Negated boolean expression is always false.
PHPStan: src/Documentation/Generator.php#L33
Result of || is always false.
PHPStan: src/Http/ApplyFieldsToQuery.php#L43
Parameter #1 $model of static method OpenSoutheners\LaravelApiable\ServiceProvider::getTypeForModel() expects class-string<Illuminate\Database\Eloquent\Model>, Illuminate\Database\Eloquent\Model|OpenSoutheners\LaravelApiable\Contracts\JsonApiable given.
PHPStan: src/Http/ApplyFieldsToQuery.php#L48
Call to an undefined static method OpenSoutheners\LaravelApiable\Support\Facades\Apiable::getModelFromResourceType().
PHPStan: src/Http/ApplyFiltersToQuery.php#L14
Used function OpenSoutheners\ExtendedPhp\Classes\class_namespace not found.
PHPStan: src/Http/ApplyFiltersToQuery.php#L181
Function OpenSoutheners\ExtendedPhp\Classes\class_namespace not found.
PHPStan: src/Http/ApplyFulltextSearchToQuery.php#L8
Used function OpenSoutheners\ExtendedPhp\Classes\class_use not found.
PHPStan: src/Http/ApplyFulltextSearchToQuery.php#L25
Function OpenSoutheners\ExtendedPhp\Classes\class_use not found.
PHPStan
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/