Skip to content

Added phpstan

Added phpstan #4

Triggered via pull request July 23, 2024 11:13
Status Failure
Total duration 1m 32s
Artifacts

phpstan.yml

on: pull_request
php82-laravel-latest-phpstan-postgres
1m 22s
php82-laravel-latest-phpstan-postgres
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
php82-laravel-latest-phpstan-postgres: src/Services/OrderService.php#L21
Method EscolaLms\Vouchers\Services\OrderService::find() should return EscolaLms\Vouchers\Models\Order but returns Illuminate\Database\Eloquent\Collection<int, Illuminate\Database\Eloquent\Model>|Illuminate\Database\Eloquent\Model.
php82-laravel-latest-phpstan-postgres
Process completed with exit code 1.
php82-laravel-latest-phpstan-postgres
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
php82-laravel-latest-phpstan-postgres
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/