Do not flush when it should be done elsewhere #999
Annotations
6 errors
|
Static analysis:
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)
|
Static analysis:
src/Security/GiftCardVoter.php#L20
src/Security/GiftCardVoter.php:20:33: MissingParamType: Parameter $attribute has no provided type (see https://psalm.dev/154)
|
Static analysis:
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)
|
Static analysis:
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 analysis
The operation was canceled.
|
Loading