Skip to content

Fix filter by status #976

Fix filter by status

Fix filter by status #976

Triggered via pull request February 9, 2025 05:48
Status Failure
Total duration 3m 2s
Artifacts

run-tests.yml

on: pull_request
Matrix: mysql
Matrix: postgres13
Matrix: postgres14
Matrix: postgres15
Matrix: sqlite
Matrix: static-analysis
Fit to window
Zoom out
Zoom in

Annotations

29 errors
Static Analysis - P8.2 - L11.x - prefer-lowest: database/seeders/DatabaseSeeder.php#L69
Parameter #2 $callback of function tap expects (callable(Illuminate\Database\Eloquent\Model): mixed)|null, Closure(Cachet\Models\Schedule): void given.
Static Analysis - P8.2 - L11.x - prefer-lowest: src/Actions/Schedule/CreateSchedule.php#L17
Method Cachet\Actions\Schedule\CreateSchedule::handle() should return Cachet\Models\Schedule but returns Illuminate\Database\Eloquent\Model.
Static Analysis - P8.2 - L11.x - prefer-lowest: src/Actions/Schedule/CreateSchedule.php#L17
Parameter #2 $callback of function tap expects (callable(Illuminate\Database\Eloquent\Model): mixed)|null, Closure(Cachet\Models\Schedule): void given.
Static Analysis - P8.2 - L11.x - prefer-lowest: src/Filters/ScheduleStatusFilter.php#L51
Call to an undefined method Illuminate\Database\Eloquent\Builder::inThePast().
Static Analysis - P8.2 - L11.x - prefer-lowest: src/Filters/ScheduleStatusFilter.php#L52
Call to an undefined method Illuminate\Database\Eloquent\Builder::inProgress().
Static Analysis - P8.2 - L11.x - prefer-lowest: src/Filters/ScheduleStatusFilter.php#L53
Call to an undefined method Illuminate\Database\Eloquent\Builder::inTheFuture().
Static Analysis - P8.2 - L11.x - prefer-lowest
Process completed with exit code 1.
Static Analysis - P8.3 - L11.x - prefer-stable: database/seeders/DatabaseSeeder.php#L69
Parameter #2 $callback of function tap expects (callable(Illuminate\Database\Eloquent\Model): mixed)|null, Closure(Cachet\Models\Schedule): void given.
Static Analysis - P8.3 - L11.x - prefer-stable: src/Actions/Schedule/CreateSchedule.php#L17
Method Cachet\Actions\Schedule\CreateSchedule::handle() should return Cachet\Models\Schedule but returns Illuminate\Database\Eloquent\Model.
Static Analysis - P8.3 - L11.x - prefer-stable: src/Actions/Schedule/CreateSchedule.php#L17
Parameter #2 $callback of function tap expects (callable(Illuminate\Database\Eloquent\Model): mixed)|null, Closure(Cachet\Models\Schedule): void given.
Static Analysis - P8.3 - L11.x - prefer-stable: src/Filters/ScheduleStatusFilter.php#L51
Call to an undefined method Illuminate\Database\Eloquent\Builder::inThePast().
Static Analysis - P8.3 - L11.x - prefer-stable: src/Filters/ScheduleStatusFilter.php#L52
Call to an undefined method Illuminate\Database\Eloquent\Builder::inProgress().
Static Analysis - P8.3 - L11.x - prefer-stable: src/Filters/ScheduleStatusFilter.php#L53
Call to an undefined method Illuminate\Database\Eloquent\Builder::inTheFuture().
Static Analysis - P8.3 - L11.x - prefer-stable
Process completed with exit code 1.
Static Analysis - P8.2 - L11.x - prefer-stable: database/seeders/DatabaseSeeder.php#L69
Parameter #2 $callback of function tap expects (callable(Illuminate\Database\Eloquent\Model): mixed)|null, Closure(Cachet\Models\Schedule): void given.
Static Analysis - P8.2 - L11.x - prefer-stable: src/Actions/Schedule/CreateSchedule.php#L17
Method Cachet\Actions\Schedule\CreateSchedule::handle() should return Cachet\Models\Schedule but returns Illuminate\Database\Eloquent\Model.
Static Analysis - P8.2 - L11.x - prefer-stable: src/Actions/Schedule/CreateSchedule.php#L17
Parameter #2 $callback of function tap expects (callable(Illuminate\Database\Eloquent\Model): mixed)|null, Closure(Cachet\Models\Schedule): void given.
Static Analysis - P8.2 - L11.x - prefer-stable: src/Filters/ScheduleStatusFilter.php#L51
Call to an undefined method Illuminate\Database\Eloquent\Builder::inThePast().
Static Analysis - P8.2 - L11.x - prefer-stable: src/Filters/ScheduleStatusFilter.php#L52
Call to an undefined method Illuminate\Database\Eloquent\Builder::inProgress().
Static Analysis - P8.2 - L11.x - prefer-stable: src/Filters/ScheduleStatusFilter.php#L53
Call to an undefined method Illuminate\Database\Eloquent\Builder::inTheFuture().
Static Analysis - P8.2 - L11.x - prefer-stable
Process completed with exit code 1.
Static Analysis - P8.3 - L11.x - prefer-lowest: database/seeders/DatabaseSeeder.php#L69
Parameter #2 $callback of function tap expects (callable(Illuminate\Database\Eloquent\Model): mixed)|null, Closure(Cachet\Models\Schedule): void given.
Static Analysis - P8.3 - L11.x - prefer-lowest: src/Actions/Schedule/CreateSchedule.php#L17
Method Cachet\Actions\Schedule\CreateSchedule::handle() should return Cachet\Models\Schedule but returns Illuminate\Database\Eloquent\Model.
Static Analysis - P8.3 - L11.x - prefer-lowest: src/Actions/Schedule/CreateSchedule.php#L17
Parameter #2 $callback of function tap expects (callable(Illuminate\Database\Eloquent\Model): mixed)|null, Closure(Cachet\Models\Schedule): void given.
Static Analysis - P8.3 - L11.x - prefer-lowest: src/Filters/ScheduleStatusFilter.php#L51
Call to an undefined method Illuminate\Database\Eloquent\Builder::inThePast().
Static Analysis - P8.3 - L11.x - prefer-lowest: src/Filters/ScheduleStatusFilter.php#L52
Call to an undefined method Illuminate\Database\Eloquent\Builder::inProgress().
Static Analysis - P8.3 - L11.x - prefer-lowest: src/Filters/ScheduleStatusFilter.php#L53
Call to an undefined method Illuminate\Database\Eloquent\Builder::inTheFuture().
Static Analysis - P8.3 - L11.x - prefer-lowest
Process completed with exit code 1.
check
Process completed with exit code 1.