Skip to content

JPush: Add set_auth_token to JpushReport #70

JPush: Add set_auth_token to JpushReport

JPush: Add set_auth_token to JpushReport #70

Triggered via push July 7, 2023 11:59
Status Success
Total duration 1m 2s
Artifacts

php-tests.yml

on: push
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 6 warnings
PHPCS: src/Lunr/Vortex/JPush/JPushDispatcher.php#L124
Expected type hint "JPushPayload"; found "object" for $payload
PHPCS: src/Lunr/Vortex/JPush/JPushNotificationPayload.php#L98
Expected type hint "JPushPriority::*"; found "int" for $priority
PHPCS: src/Lunr/Vortex/JPush/Tests/JPushBatchResponseBasePushSuccessTest.php#L15
Header blocks must not contain blank lines
PHPCS: src/Lunr/Vortex/JPush/Tests/JPushBatchResponseBasePushErrorTest.php#L15
Header blocks must not contain blank lines
PHPCS: src/Lunr/Vortex/JPush/Tests/JPushBatchResponseGetStatusTest.php#L15
Header blocks must not contain blank lines
PHPCS: src/Lunr/Vortex/JPush/Tests/JPushBatchResponseGetMessageIdTest.php#L15
Header blocks must not contain blank lines
PHPCS: src/Lunr/Vortex/FCM/Tests/FCMBatchResponseBasePushSuccessTest.php#L15
Header blocks must not contain blank lines
PHPCS: src/Lunr/Vortex/FCM/Tests/FCMBatchResponseBasePushErrorTest.php#L15
Header blocks must not contain blank lines
PHPCS: src/Lunr/Vortex/FCM/Tests/FCMBatchResponseGetStatusTest.php#L16
Header blocks must not contain blank lines
PHPCS: src/Lunr/Vortex/FCM/FCMDispatcher.php#L120
Expected type hint "FCMPayload"; found "object" for $payload
PHPStan: src/Lunr/Vortex/APNS/APNSPayload.php#L96
PHPDoc tag @param for parameter $priority with type int|Lunr\Vortex\APNS\APNSPriority is not subtype of native type int.
PHPStan: src/Lunr/Vortex/FCM/FCMDispatcher.php#L124
Unsafe access to private constant Lunr\Vortex\FCM\FCMDispatcher::BATCH_SIZE through static::.
PHPStan: src/Lunr/Vortex/FCM/FCMDispatcher.php#L173
Unsafe access to private constant Lunr\Vortex\FCM\FCMDispatcher::GOOGLE_SEND_URL through static::.
PHPStan: src/Lunr/Vortex/FCM/FCMDispatcher.php#L178
Unsafe access to private constant Lunr\Vortex\FCM\FCMDispatcher::SERVICE_NAME through static::.
PHPStan: src/Lunr/Vortex/FCM/FCMDispatcher.php#L215
Unsafe access to private constant Lunr\Vortex\FCM\FCMDispatcher::GOOGLE_SEND_URL through static::.
PHPStan: src/Lunr/Vortex/JPush/JPushDispatcher.php#L128
Unsafe access to private constant Lunr\Vortex\JPush\JPushDispatcher::BATCH_SIZE through static::.
PHPStan: src/Lunr/Vortex/JPush/JPushDispatcher.php#L160
Unsafe access to private constant Lunr\Vortex\JPush\JPushDispatcher::JPUSH_SEND_URL through static::.
PHPStan: src/Lunr/Vortex/JPush/JPushDispatcher.php#L165
Unsafe access to private constant Lunr\Vortex\JPush\JPushDispatcher::SERVICE_NAME through static::.
PHPStan: src/Lunr/Vortex/JPush/JPushDispatcher.php#L207
Unsafe access to private constant Lunr\Vortex\JPush\JPushDispatcher::JPUSH_SEND_URL through static::.
PHPStan: src/Lunr/Vortex/JPush/JPushReport.php#L105
Unsafe access to private constant Lunr\Vortex\JPush\JPushReport::JPUSH_REPORT_URL through static::.
PHPCS: src/Lunr/Vortex/JPush/Tests/JPushReportGetReportTest.php#L106
Line exceeds 150 characters; contains 221 characters
PHPCS: src/Lunr/Vortex/JPush/Tests/JPushReportGetReportTest.php#L119
Line exceeds 150 characters; contains 217 characters
PHPCS: src/Lunr/Vortex/JPush/Tests/JPushReportGetReportTest.php#L131
Line exceeds 150 characters; contains 169 characters
PHPCS: src/Lunr/Vortex/JPush/Tests/JPushReportReportEndpointErrorTest.php#L33
Line exceeds 150 characters; contains 161 characters
PHPCS: src/Lunr/Vortex/PAP/PAPDispatcher.php#L66
Visibility must be declared on all constants if your project supports PHP 7.1 or later
PHPCS: src/Lunr/Vortex/MPNS/MPNSPriority.php#L24
Equals sign not aligned correctly; expected 1 space but found 7 spaces