Skip to content

Upgrade API bundle dependency to 1.11 #1006

Upgrade API bundle dependency to 1.11

Upgrade API bundle dependency to 1.11 #1006

Triggered via push February 11, 2025 11:13
Status Failure
Total duration 4m 5s
Artifacts

build.yaml

on: push
Matrix: code-coverage
Matrix: coding-standards
Matrix: dependency-analysis
Matrix: integration-tests
Matrix: static-code-analysis
Matrix: unit-tests
Fit to window
Zoom out
Zoom in

Annotations

32 errors and 4 warnings
DeprecatedInterface: src/Api/DataTransformer/GiftCardCodeAwareInputCommandDataTransformer.php#L11
src/Api/DataTransformer/GiftCardCodeAwareInputCommandDataTransformer.php:11:13: DeprecatedInterface: Sylius\Bundle\ApiBundle\DataTransformer\CommandDataTransformerInterface is marked deprecated (see https://psalm.dev/152)
DeprecatedInterface: src/Api/DataTransformer/GiftCardConfigurationCodeAwareInputCommandDataTransformer.php#L11
src/Api/DataTransformer/GiftCardConfigurationCodeAwareInputCommandDataTransformer.php:11:13: DeprecatedInterface: Sylius\Bundle\ApiBundle\DataTransformer\CommandDataTransformerInterface is marked deprecated (see https://psalm.dev/152)
DeprecatedInterface: src/Factory/GiftCardFactory.php#L28
src/Factory/GiftCardFactory.php:28:9: DeprecatedInterface: Interface Sylius\Bundle\ShippingBundle\Provider\DateTimeProvider is marked as deprecated (see https://psalm.dev/152)
MissingParamType: src/Security/GiftCardVoter.php#L20
src/Security/GiftCardVoter.php:20:33: MissingParamType: Parameter $attribute has no provided type (see https://psalm.dev/154)
MoreSpecificImplementedParamType: src/Security/GiftCardVoter.php#L37
src/Security/GiftCardVoter.php:37:52: MoreSpecificImplementedParamType: Argument 2 of Setono\SyliusGiftCardPlugin\Security\GiftCardVoter::voteOnAttribute has the more specific type 'Setono\SyliusGiftCardPlugin\Model\GiftCardInterface', expecting 'mixed' as defined by Symfony\Component\Security\Core\Authorization\Voter\Voter::voteOnAttribute (see https://psalm.dev/140)
InvalidArgument: src/Twig/Extension/PdfExtension.php#L15
src/Twig/Extension/PdfExtension.php:15:77: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
Static Code Analysis (PHP 8.2 | Dependency versions: highest | Symfony: ~6.4.0)
Process completed with exit code 2.
Static Code Analysis (PHP 8.1 | Dependency versions: highest | Symfony: ~6.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
DeprecatedInterface: src/Api/DataTransformer/GiftCardCodeAwareInputCommandDataTransformer.php#L11
src/Api/DataTransformer/GiftCardCodeAwareInputCommandDataTransformer.php:11:13: DeprecatedInterface: Sylius\Bundle\ApiBundle\DataTransformer\CommandDataTransformerInterface is marked deprecated (see https://psalm.dev/152)
DeprecatedInterface: src/Api/DataTransformer/GiftCardConfigurationCodeAwareInputCommandDataTransformer.php#L11
src/Api/DataTransformer/GiftCardConfigurationCodeAwareInputCommandDataTransformer.php:11:13: DeprecatedInterface: Sylius\Bundle\ApiBundle\DataTransformer\CommandDataTransformerInterface is marked deprecated (see https://psalm.dev/152)
DeprecatedInterface: src/Factory/GiftCardFactory.php#L28
src/Factory/GiftCardFactory.php:28:9: DeprecatedInterface: Interface Sylius\Bundle\ShippingBundle\Provider\DateTimeProvider is marked as deprecated (see https://psalm.dev/152)
MissingParamType: src/Security/GiftCardVoter.php#L20
src/Security/GiftCardVoter.php:20:33: MissingParamType: Parameter $attribute has no provided type (see https://psalm.dev/154)
MoreSpecificImplementedParamType: src/Security/GiftCardVoter.php#L37
src/Security/GiftCardVoter.php:37:52: MoreSpecificImplementedParamType: Argument 2 of Setono\SyliusGiftCardPlugin\Security\GiftCardVoter::voteOnAttribute has the more specific type 'Setono\SyliusGiftCardPlugin\Model\GiftCardInterface', expecting 'mixed' as defined by Symfony\Component\Security\Core\Authorization\Voter\Voter::voteOnAttribute (see https://psalm.dev/140)
InvalidArgument: src/Twig/Extension/PdfExtension.php#L15
src/Twig/Extension/PdfExtension.php:15:77: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
Static Code Analysis (PHP 8.1 | Dependency versions: highest | Symfony: ~6.4.0)
Process completed with exit code 2.
Static Code Analysis (PHP 8.2 | Dependency versions: highest | Symfony: ~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
DeprecatedInterface: src/Api/DataTransformer/GiftCardCodeAwareInputCommandDataTransformer.php#L11
src/Api/DataTransformer/GiftCardCodeAwareInputCommandDataTransformer.php:11:13: DeprecatedInterface: Sylius\Bundle\ApiBundle\DataTransformer\CommandDataTransformerInterface is marked deprecated (see https://psalm.dev/152)
DeprecatedInterface: src/Api/DataTransformer/GiftCardConfigurationCodeAwareInputCommandDataTransformer.php#L11
src/Api/DataTransformer/GiftCardConfigurationCodeAwareInputCommandDataTransformer.php:11:13: DeprecatedInterface: Sylius\Bundle\ApiBundle\DataTransformer\CommandDataTransformerInterface is marked deprecated (see https://psalm.dev/152)
DeprecatedInterface: src/Factory/GiftCardFactory.php#L28
src/Factory/GiftCardFactory.php:28:9: DeprecatedInterface: Interface Sylius\Bundle\ShippingBundle\Provider\DateTimeProvider is marked as deprecated (see https://psalm.dev/152)
MoreSpecificImplementedParamType: src/Security/GiftCardVoter.php#L37
src/Security/GiftCardVoter.php:37:52: MoreSpecificImplementedParamType: Argument 2 of Setono\SyliusGiftCardPlugin\Security\GiftCardVoter::voteOnAttribute has the more specific type 'Setono\SyliusGiftCardPlugin\Model\GiftCardInterface', expecting 'mixed' as defined by Symfony\Component\Security\Core\Authorization\Voter\Voter::voteOnAttribute (see https://psalm.dev/140)
InvalidArgument: src/Twig/Extension/PdfExtension.php#L15
src/Twig/Extension/PdfExtension.php:15:77: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
Static Code Analysis (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
Static Code Analysis (PHP 8.1 | Dependency versions: highest | Symfony: ~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
Static Code Analysis (PHP 8.2 | Dependency versions: lowest | Symfony: ~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
Static Code Analysis (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
Static Code Analysis (PHP 8.1 | Dependency versions: lowest | Symfony: ~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
Integration tests (PHP 8.2 | Dependency versions: highest | Symfony: ~6.4)
Process completed with exit code 255.
Integration tests (PHP 8.1 | Dependency versions: highest | Symfony: ~6.4)
The job was canceled because "_8_2_highest__6_4" failed.
Integration tests (PHP 8.1 | Dependency versions: highest | Symfony: ~6.4)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Integration tests (PHP 8.2 | Dependency versions: highest | Symfony: ~6.4)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Integration tests (PHP 8.2 | Dependency versions: highest | Symfony: ~6.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Integration tests (PHP 8.1 | Dependency versions: highest | Symfony: ~6.4)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/