Fix PHPStan #107
Annotations
36 errors and 9 warnings
UnnecessaryVarAnnotation:
src/Command/IndexCommand.php#L48
src/Command/IndexCommand.php:48:18: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $channels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductEventSubscriber.php#L52
src/EventSubscriber/ProductEventSubscriber.php:52:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductEventSubscriber.php#L92
src/EventSubscriber/ProductEventSubscriber.php:92:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductVariantSubscriber.php#L57
src/EventSubscriber/ProductVariantSubscriber.php:57:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductVariantSubscriber.php#L101
src/EventSubscriber/ProductVariantSubscriber.php:101:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
InvalidArgument:
src/Twig/FilterExtension.php#L16
src/Twig/FilterExtension.php:16:48: InvalidArgument: Argument 2 of Twig\TwigFilter::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
InvalidArgument:
src/Twig/FilterExtension.php#L23
src/Twig/FilterExtension.php:23:80: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
InvalidArgument:
src/Twig/SearchExtension.php#L15
src/Twig/SearchExtension.php:15:49: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
Sylius ~1.13, PHP 8.2, Elasticsearch 7.17.19, Symfony ^6.4, MySQL 8.0 Node 20.x
Process completed with exit code 2.
|
UnnecessaryVarAnnotation:
src/Command/IndexCommand.php#L48
src/Command/IndexCommand.php:48:18: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $channels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductEventSubscriber.php#L52
src/EventSubscriber/ProductEventSubscriber.php:52:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductEventSubscriber.php#L92
src/EventSubscriber/ProductEventSubscriber.php:92:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductVariantSubscriber.php#L57
src/EventSubscriber/ProductVariantSubscriber.php:57:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductVariantSubscriber.php#L101
src/EventSubscriber/ProductVariantSubscriber.php:101:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
InvalidArgument:
src/Twig/FilterExtension.php#L16
src/Twig/FilterExtension.php:16:48: InvalidArgument: Argument 2 of Twig\TwigFilter::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
InvalidArgument:
src/Twig/FilterExtension.php#L23
src/Twig/FilterExtension.php:23:80: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
InvalidArgument:
src/Twig/SearchExtension.php#L15
src/Twig/SearchExtension.php:15:49: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
Sylius ~1.12, PHP 8.2, Elasticsearch 7.17.19, Symfony ^6.4, MySQL 8.0 Node 20.x
Process completed with exit code 2.
|
UnnecessaryVarAnnotation:
src/Command/IndexCommand.php#L48
src/Command/IndexCommand.php:48:18: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $channels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductEventSubscriber.php#L52
src/EventSubscriber/ProductEventSubscriber.php:52:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductEventSubscriber.php#L92
src/EventSubscriber/ProductEventSubscriber.php:92:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductVariantSubscriber.php#L57
src/EventSubscriber/ProductVariantSubscriber.php:57:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductVariantSubscriber.php#L101
src/EventSubscriber/ProductVariantSubscriber.php:101:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
InvalidArgument:
src/Twig/FilterExtension.php#L16
src/Twig/FilterExtension.php:16:48: InvalidArgument: Argument 2 of Twig\TwigFilter::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
InvalidArgument:
src/Twig/FilterExtension.php#L23
src/Twig/FilterExtension.php:23:80: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
InvalidArgument:
src/Twig/SearchExtension.php#L15
src/Twig/SearchExtension.php:15:49: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
Sylius ~1.12, PHP 8.3, Elasticsearch 7.17.19, Symfony ^6.4, MySQL 8.0 Node 20.x
Process completed with exit code 2.
|
UnnecessaryVarAnnotation:
src/Command/IndexCommand.php#L48
src/Command/IndexCommand.php:48:18: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $channels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductEventSubscriber.php#L52
src/EventSubscriber/ProductEventSubscriber.php:52:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductEventSubscriber.php#L92
src/EventSubscriber/ProductEventSubscriber.php:92:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductVariantSubscriber.php#L57
src/EventSubscriber/ProductVariantSubscriber.php:57:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
UnnecessaryVarAnnotation:
src/EventSubscriber/ProductVariantSubscriber.php#L101
src/EventSubscriber/ProductVariantSubscriber.php:101:22: UnnecessaryVarAnnotation: The @var array<array-key, Sylius\Component\Core\Model\ChannelInterface> annotation for $allChannels is unnecessary (see https://psalm.dev/212)
|
InvalidArgument:
src/Twig/FilterExtension.php#L16
src/Twig/FilterExtension.php:16:48: InvalidArgument: Argument 2 of Twig\TwigFilter::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
InvalidArgument:
src/Twig/FilterExtension.php#L23
src/Twig/FilterExtension.php:23:80: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
InvalidArgument:
src/Twig/SearchExtension.php#L15
src/Twig/SearchExtension.php:15:49: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
Sylius ~1.13, PHP 8.3, Elasticsearch 7.17.19, Symfony ^6.4, MySQL 8.0 Node 20.x
Process completed with exit code 2.
|
Sylius ~1.12, PHP 8.3, Elasticsearch 8.8.2, Symfony ^6.4, MySQL 8.0 Node 20.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Sylius ~1.13, PHP 8.2, Elasticsearch 8.8.2, Symfony ^6.4, MySQL 8.0 Node 20.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Sylius ~1.13, PHP 8.3, Elasticsearch 8.8.2, Symfony ^6.4, MySQL 8.0 Node 20.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Sylius ~1.12, PHP 8.2, Elasticsearch 8.8.2, Symfony ^6.4, MySQL 8.0 Node 20.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Sylius ~1.13, PHP 8.2, Elasticsearch 7.17.19, Symfony ^6.4, MySQL 8.0 Node 20.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Sylius ~1.12, PHP 8.2, Elasticsearch 7.17.19, Symfony ^6.4, MySQL 8.0 Node 20.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Sylius ~1.12, PHP 8.3, Elasticsearch 7.17.19, Symfony ^6.4, MySQL 8.0 Node 20.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Sylius ~1.13, PHP 8.3, Elasticsearch 7.17.19, Symfony ^6.4, MySQL 8.0 Node 20.x
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "Behat logs".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Behat logs
Expired
|
0 Bytes |
|