Skip to content

Apns: Add live activity payload #242

Apns: Add live activity payload

Apns: Add live activity payload #242

Triggered via pull request December 9, 2024 14:45
Status Failure
Total duration 1m 20s
Artifacts

php-tests.yml

on: pull_request
php-tests  /  ...  /  Generate matrix for phpunit
0s
php-tests / phpunit / Generate matrix for phpunit
php-tests  /  ...  /  PHPCS
27s
php-tests / phpcs / PHPCS
php-tests  /  ...  /  PHPStan
1m 9s
php-tests / phpstan / PHPStan
Matrix: php-tests / phpunit / phpunit
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 7 warnings
php-tests / phpcs / PHPCS: src/Lunr/Vortex/APNS/APNSLiveActivityPayload.php#L138
Expected 1 blank line after function; 0 found
php-tests / phpcs / PHPCS: src/Lunr/Vortex/APNS/Tests/APNSLiveActivityPayloadSetTest.php#L13
Type ApnsPHP\Message\Priority is not used in this file.
php-tests / phpcs / PHPCS
Process completed with exit code 1.
php-tests / phpcs / PHPCS
Process completed with exit code 2.
php-tests / phpstan / PHPStan: src/Lunr/Vortex/APNS/APNSLiveActivityPayload.php#L27
Cannot import type alias APNSBasePayloadElements: type alias does not exist in Lunr\Vortex\APNS\APNSPayload.
php-tests / phpstan / PHPStan: src/Lunr/Vortex/APNS/APNSLiveActivityPayload.php#L27
Type alias APNSLiveActivityPayloadElements contains unknown class Lunr\Vortex\APNS\APNSBasePayloadElements.
php-tests / phpstan / PHPStan: src/Lunr/Vortex/APNS/APNSLiveActivityPayload.php#L51
Method Lunr\Vortex\APNS\APNSLiveActivityPayload::get_payload() has invalid return type Lunr\Vortex\APNS\APNSBasePayloadElements.
php-tests / phpstan / PHPStan: src/Lunr/Vortex/APNS/APNSLiveActivityPayload.php#L51
PHPDoc tag @return with type array<string, array|int|object|string>|Lunr\Vortex\APNS\APNSBasePayloadElements is not subtype of native type array.
php-tests / phpstan / PHPStan
Process completed with exit code 1.
php-tests / phpunit / Generate matrix for phpunit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
php-tests / phpcs / PHPCS
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
php-tests / phpcs / PHPCS: src/Lunr/Vortex/APNS/Tests/APNSLiveActivityPayloadTest.php#L76
Equals sign not aligned with surrounding assignments; expected 16 spaces but found 3 spaces
php-tests / phpunit / PHP-8.2: PHPUnit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
php-tests / phpunit / PHP-8.1: PHPUnit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
php-tests / phpunit / PHP-8.3: PHPUnit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
php-tests / phpstan / PHPStan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636