Skip to content

JPush: Set deffered status at correct error response code #89

JPush: Set deffered status at correct error response code

JPush: Set deffered status at correct error response code #89

Triggered via push September 25, 2023 09:39
Status Success
Total duration 58s
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/Email/EmailDispatcher.php#L87
Expected type hint "EmailPayload"; found "object" for $payload
PHPCS: src/Lunr/Vortex/Email/Tests/EmailResponseGetSuccessStatusTest.php#L1
The PHP open tag does not have a corresponding PHP close tag
PHPCS: src/Lunr/Vortex/Email/Tests/EmailResponseGetErrorStatusTest.php#L1
The PHP open tag does not have a corresponding PHP close tag
PHPCS: src/Lunr/Vortex/Email/Tests/EmailResponseGetUnknownStatusTest.php#L1
The PHP open tag does not have a corresponding PHP close tag
PHPCS: src/Lunr/Vortex/Email/Tests/EmailResponseTest.php#L1
The PHP open tag does not have a corresponding PHP close tag
PHPCS: src/Lunr/Vortex/WNS/WNSDispatcher.php#L113
Expected type hint "WNSPayload"; found "object" for $payload
PHPCS: src/Lunr/Vortex/WNS/WNSDispatcher.php#L223
Expected "string|bool" but found "string|boolean" for function return type
PHPCS: src/Lunr/Vortex/WNS/Tests/WNSResponseTest.php#L1
The PHP open tag does not have a corresponding PHP close tag
PHPCS: src/Lunr/Vortex/WNS/Tests/WNSDispatcherOAuthTest.php#L1
The PHP open tag does not have a corresponding PHP close tag
PHPCS: src/Lunr/Vortex/WNS/Tests/WNSDispatcherOAuthTest.php#L1
Header blocks must be separated by a single blank line
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/PAP/PAPDispatcher.php#L66
Visibility must be declared on all constants if your project supports PHP 7.1 or later
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/MPNS/MPNSPriority.php#L24
Equals sign not aligned correctly; expected 1 space but found 7 spaces