Skip to content

Add php 8.4/8.5 support #16

Add php 8.4/8.5 support

Add php 8.4/8.5 support #16

Triggered via pull request December 4, 2025 12:38
Status Success
Total duration 29s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

30 errors
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/RRule.php#L239
Parameter #1 $timezone of class DateTimeZone constructor expects string, string|null given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/RRule.php#L213
Ignored error pattern #^Parameter \#1 \$timezone of class DateTimeZone constructor expects string, string\|null given\.$# in path /home/runner/work/ipl-scheduler/ipl-scheduler/src/RRule.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/RRule.php#L191
Using nullsafe method call on non-nullable type DateTimeInterface. Use -> instead.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/RRule.php#L135
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/RRule.php#L133
Parameter #2 $datetime of static method DateTime::createFromFormat() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/RRule.php#L131
Property ipl\Scheduler\RRule::$frequency (string) does not accept mixed.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Cron.php#L184
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Cron.php#L180
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Cron.php#L59
Ignored error pattern #^Method ipl\\Scheduler\\Cron\:\:getNextDue\(\) should return DateTimeInterface but returns DateTimeInterface\|null\.$# in path /home/runner/work/ipl-scheduler/ipl-scheduler/src/Cron.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: src/Common/TaskProperties.php#L8
Trait ipl\Scheduler\Common\TaskProperties is used zero times and is not analysed.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/RRule.php#L239
Parameter #1 $timezone of class DateTimeZone constructor expects string, string|null given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/RRule.php#L213
Ignored error pattern #^Parameter \#1 \$timezone of class DateTimeZone constructor expects string, string\|null given\.$# in path /home/runner/work/ipl-scheduler/ipl-scheduler/src/RRule.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/RRule.php#L191
Using nullsafe method call on non-nullable type DateTimeInterface. Use -> instead.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/RRule.php#L135
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/RRule.php#L133
Parameter #2 $datetime of static method DateTime::createFromFormat() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/RRule.php#L131
Property ipl\Scheduler\RRule::$frequency (string) does not accept mixed.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Cron.php#L184
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Cron.php#L180
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Cron.php#L59
Ignored error pattern #^Method ipl\\Scheduler\\Cron\:\:getNextDue\(\) should return DateTimeInterface but returns DateTimeInterface\|null\.$# in path /home/runner/work/ipl-scheduler/ipl-scheduler/src/Cron.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: src/Common/TaskProperties.php#L8
Trait ipl\Scheduler\Common\TaskProperties is used zero times and is not analysed.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/RRule.php#L239
Parameter #1 $timezone of class DateTimeZone constructor expects string, string|null given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/RRule.php#L213
Ignored error pattern #^Parameter \#1 \$timezone of class DateTimeZone constructor expects string, string\|null given\.$# in path /home/runner/work/ipl-scheduler/ipl-scheduler/src/RRule.php is expected to occur 1 time, but occurred 2 times.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/RRule.php#L191
Using nullsafe method call on non-nullable type DateTimeInterface. Use -> instead.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/RRule.php#L135
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/RRule.php#L133
Parameter #2 $datetime of static method DateTime::createFromFormat() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/RRule.php#L131
Property ipl\Scheduler\RRule::$frequency (string) does not accept mixed.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Cron.php#L184
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Cron.php#L180
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Cron.php#L59
Ignored error pattern #^Method ipl\\Scheduler\\Cron\:\:getNextDue\(\) should return DateTimeInterface but returns DateTimeInterface\|null\.$# in path /home/runner/work/ipl-scheduler/ipl-scheduler/src/Cron.php is expected to occur 2 times, but occurred only 1 time.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: src/Common/TaskProperties.php#L8
Trait ipl\Scheduler\Common\TaskProperties is used zero times and is not analysed.