Skip to content

Fixed fome model issue #8

Fixed fome model issue

Fixed fome model issue #8

Triggered via push August 20, 2024 06:49
Status Failure
Total duration 1m 33s
Artifacts

laravel.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
laravel-tests: app/Actions/CourseWithSections.php#L18
Parameter #1 $callback of method Illuminate\Database\Eloquent\Collection<(int|string),Illuminate\Database\Eloquent\Model>::map() expects callable(Illuminate\Database\Eloquent\Model, int|string): App\Models\Section, Closure(App\Models\Section): App\Models\Section given.
laravel-tests: app/Actions/CourseWithSections.php#L32
Access to an undefined property App\Models\Section::$resources.
laravel-tests: app/Exceptions/Handler.php#L20
PHPDoc type array<int, string|null> of property App\Exceptions\Handler::$dontReport is not covariant with PHPDoc type array<int, class-string<Throwable>> of overridden property Illuminate\Foundation\Exceptions\Handler::$dontReport.
laravel-tests: app/Exceptions/Handler.php#L60
Class jeremykenedy\LaravelRoles\App\Exceptions\RoleDeniedException not found.
laravel-tests: app/Exceptions/Handler.php#L61
Class jeremykenedy\LaravelRoles\App\Exceptions\PermissionDeniedException not found.
laravel-tests: app/Exceptions/Handler.php#L62
Class jeremykenedy\LaravelRoles\App\Exceptions\LevelDeniedException not found.
laravel-tests: app/Exceptions/Handler.php#L66
Call to an undefined static method Illuminate\Http\Response::json().
laravel-tests: app/Exceptions/Handler.php#L75
Method App\Exceptions\Handler::render() should return Illuminate\Http\Response but returns Symfony\Component\HttpFoundation\Response.
laravel-tests: app/Exceptions/Handler.php#L94
Instantiated class App\Mail\ExceptionOccured not found.
laravel-tests: app/Exceptions/Handler.php#L94
Parameter #1 $view of static method Illuminate\Support\Facades\Mail::send() expects array|Illuminate\Contracts\Mail\Mailable|string, App\Mail\ExceptionOccured given.
laravel-tests
The following actions uses node12 which is deprecated and will be forced to run on node16: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
laravel-tests
The following actions use a deprecated Node.js version and will be forced to run on node20: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/