Skip to content

Do not flush when it should be done elsewhere #999

Do not flush when it should be done elsewhere

Do not flush when it should be done elsewhere #999

Triggered via push October 7, 2024 11:39
Status Failure
Total duration 7m 32s
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

28 errors and 3 warnings
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: ~5.4.0)
Process completed with exit code 2.
Static Code Analysis (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Static Code Analysis (PHP 8.2 | Dependency versions: highest | Symfony: ~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
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)
The job was canceled because "_8_1_highest__5_4_0" failed.
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: lowest | Symfony: ~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Static Code Analysis (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Static Code Analysis (PHP 8.2 | Dependency versions: highest | Symfony: ~6.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
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: lowest | Symfony: ~5.4.0)
The job was canceled because "_8_1_highest__5_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.2 | Dependency versions: highest | Symfony: ~6.4)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Integration tests (PHP 8.2 | Dependency versions: highest | Symfony: ~6.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/