Skip to content

Add some features

Add some features #50

Triggered via pull request April 21, 2024 16:23
Status Failure
Total duration 45s
Artifacts

backend.yml

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

Annotations

16 errors
run / PHPStan PHP 8.0
Your requirements could not be resolved to an installable set of packages. Problem 1 - kreait/firebase-php[7.9.0, ..., 7.9.1] require php ~8.1.0 || ~8.2.0 || ~8.3.0 -> your php version (8.0.30) does not satisfy that requirement. - Root composer.json requires kreait/firebase-php ^7.9 -> satisfiable by kreait/firebase-php[7.9.0, 7.9.1].
run / PHPStan PHP 8.0
Process completed with exit code 2.
run / PHPStan PHP 8.1
The job was canceled because "_8_0" failed.
run / PHPStan PHP 8.1: src/FirebasePushSender.php#L47
Dead catch - Askvortsov\FlarumPWA\FirebaseConfigInvalid is never thrown in the try block.
run / PHPStan PHP 8.1: src/FirebasePushSender.php#L65
Parameter #2 $value of method Kreait\Firebase\Messaging\CloudMessage::withTarget() expects non-empty-string, string given.
run / PHPStan PHP 8.1: src/Job/SendPushNotificationsJob.php#L50
Method Askvortsov\FlarumPWA\Job\SendPushNotificationsJob::hasValidFirebaseSettings() is unused.
run / PHPStan PHP 8.1
Process completed with exit code 1.
run / PHPStan PHP 7.4
The job was canceled because "_8_0" failed.
run / PHPStan PHP 7.4
The operation was canceled.
run / PHPStan PHP 7.3
The job was canceled because "_8_0" failed.
run / PHPStan PHP 7.3
The operation was canceled.
run / PHPStan PHP 8.2
The job was canceled because "_8_0" failed.
run / PHPStan PHP 8.2: src/FirebasePushSender.php#L47
Dead catch - Askvortsov\FlarumPWA\FirebaseConfigInvalid is never thrown in the try block.
run / PHPStan PHP 8.2: src/FirebasePushSender.php#L65
Parameter #2 $value of method Kreait\Firebase\Messaging\CloudMessage::withTarget() expects non-empty-string, string given.
run / PHPStan PHP 8.2: src/Job/SendPushNotificationsJob.php#L50
Method Askvortsov\FlarumPWA\Job\SendPushNotificationsJob::hasValidFirebaseSettings() is unused.
run / PHPStan PHP 8.2
The operation was canceled.