Improve build #958
build.yaml
on: pull_request
Matrix: code-coverage
Matrix: coding-standards
Matrix: dependency-analysis
Matrix: integration-tests
Matrix: static-code-analysis
Matrix: unit-tests
Annotations
96 errors and 8 warnings
MissingTemplateParam:
src/Repository/GiftCardConfigurationRepositoryInterface.php#L12
src/Repository/GiftCardConfigurationRepositoryInterface.php:12:60: MissingTemplateParam: Setono\SyliusGiftCardPlugin\Repository\GiftCardConfigurationRepositoryInterface has missing template params when extending Sylius\Component\Resource\Repository\RepositoryInterface, expecting 1 (see https://psalm.dev/182)
|
MissingTemplateParam:
src/Repository/GiftCardRepositoryInterface.php#L14
src/Repository/GiftCardRepositoryInterface.php:14:47: MissingTemplateParam: Setono\SyliusGiftCardPlugin\Repository\GiftCardRepositoryInterface has missing template params when extending Sylius\Component\Resource\Repository\RepositoryInterface, expecting 1 (see https://psalm.dev/182)
|
Static Code Analysis (PHP 8.1 | Dependency versions: highest | Symfony: ^5.4)
Process completed with exit code 2.
|
Static Code Analysis (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.1.0)
The job was canceled because "_8_1_highest__5_4" failed.
|
Static Code Analysis (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.1.0)
Process completed with exit code 2.
|
Static Code Analysis (PHP 8.2 | Dependency versions: highest | Symfony: ~6.1.0)
The job was canceled because "_8_1_highest__5_4" failed.
|
ReservedWord:
src/DependencyInjection/Compiler/AddAdjustmentsToOrderAdjustmentClearerPass.php#L22
src/DependencyInjection/Compiler/AddAdjustmentsToOrderAdjustmentClearerPass.php:22:32: ReservedWord: mixed is a reserved word (see https://psalm.dev/095)
|
MixedAssignment:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L34
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:34:9: MixedAssignment: Unable to determine the type that $loader is being assigned to (see https://psalm.dev/032)
|
UndefinedClass:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L34
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:34:23: UndefinedClass: Class, interface or enum named Symfony\Component\DependencyInjection\Loader\XmlFileLoader does not exist (see https://psalm.dev/019)
|
MixedMethodCall:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L66
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:66:18: MixedMethodCall: Cannot determine the type of $loader when calling method load (see https://psalm.dev/015)
|
MixedMethodCall:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L73
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:73:26: MixedMethodCall: Cannot determine the type of $loader when calling method load (see https://psalm.dev/015)
|
PossiblyInvalidCast:
src/EmailManager/GiftCardEmailManager.php#L141
src/EmailManager/GiftCardEmailManager.php:141:55: PossiblyInvalidCast: false cannot be cast to string (see https://psalm.dev/190)
|
Static Code Analysis (PHP 8.1 | Dependency versions: highest | Symfony: ~6.2.0)
The job was canceled because "_8_1_highest__5_4" failed.
|
DeprecatedInterface:
src/Api/CommandHandler/AddGiftCardToOrderHandler.php#L16
src/Api/CommandHandler/AddGiftCardToOrderHandler.php:16:13: DeprecatedInterface: Symfony\Component\Messenger\Handler\MessageHandlerInterface is marked deprecated (see https://psalm.dev/152)
|
DeprecatedInterface:
src/Api/CommandHandler/AddItemToCartHandler.php#L24
src/Api/CommandHandler/AddItemToCartHandler.php:24:13: DeprecatedInterface: Symfony\Component\Messenger\Handler\MessageHandlerInterface is marked deprecated (see https://psalm.dev/152)
|
ReservedWord:
src/EventSubscriber/DefaultGiftCardConfigurationSubscriber.php#L36
src/EventSubscriber/DefaultGiftCardConfigurationSubscriber.php:36:34: ReservedWord: mixed is a reserved word (see https://psalm.dev/095)
|
DeprecatedInterface:
src/Api/CommandHandler/AssociateConfigurationToChannelHandler.php#L17
src/Api/CommandHandler/AssociateConfigurationToChannelHandler.php:17:13: DeprecatedInterface: Symfony\Component\Messenger\Handler\MessageHandlerInterface is marked deprecated (see https://psalm.dev/152)
|
MissingTemplateParam:
src/Repository/GiftCardConfigurationRepositoryInterface.php#L12
src/Repository/GiftCardConfigurationRepositoryInterface.php:12:60: MissingTemplateParam: Setono\SyliusGiftCardPlugin\Repository\GiftCardConfigurationRepositoryInterface has missing template params when extending Sylius\Component\Resource\Repository\RepositoryInterface, expecting 1 (see https://psalm.dev/182)
|
DeprecatedInterface:
src/Api/CommandHandler/CreateGiftCardConfigurationHandler.php#L13
src/Api/CommandHandler/CreateGiftCardConfigurationHandler.php:13:13: DeprecatedInterface: Symfony\Component\Messenger\Handler\MessageHandlerInterface is marked deprecated (see https://psalm.dev/152)
|
DeprecatedInterface:
src/Api/CommandHandler/RemoveGiftCardFromOrderHandler.php#L16
src/Api/CommandHandler/RemoveGiftCardFromOrderHandler.php:16:13: DeprecatedInterface: Symfony\Component\Messenger\Handler\MessageHandlerInterface is marked deprecated (see https://psalm.dev/152)
|
MissingTemplateParam:
src/Repository/GiftCardRepositoryInterface.php#L14
src/Repository/GiftCardRepositoryInterface.php:14:47: MissingTemplateParam: Setono\SyliusGiftCardPlugin\Repository\GiftCardRepositoryInterface has missing template params when extending Sylius\Component\Resource\Repository\RepositoryInterface, expecting 1 (see https://psalm.dev/182)
|
DeprecatedInterface:
src/Serializer/Normalizer/GiftCardConfigurationNormalizer.php#L15
src/Serializer/Normalizer/GiftCardConfigurationNormalizer.php:15:13: DeprecatedInterface: Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface is marked deprecated (see https://psalm.dev/152)
|
ReservedWord:
src/DependencyInjection/Compiler/AddAdjustmentsToOrderAdjustmentClearerPass.php#L22
src/DependencyInjection/Compiler/AddAdjustmentsToOrderAdjustmentClearerPass.php:22:32: ReservedWord: mixed is a reserved word (see https://psalm.dev/095)
|
MixedAssignment:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L34
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:34:9: MixedAssignment: Unable to determine the type that $loader is being assigned to (see https://psalm.dev/032)
|
UndefinedClass:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L34
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:34:23: UndefinedClass: Class, interface or enum named Symfony\Component\DependencyInjection\Loader\XmlFileLoader does not exist (see https://psalm.dev/019)
|
MixedMethodCall:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L66
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:66:18: MixedMethodCall: Cannot determine the type of $loader when calling method load (see https://psalm.dev/015)
|
MixedMethodCall:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L73
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:73:26: MixedMethodCall: Cannot determine the type of $loader when calling method load (see https://psalm.dev/015)
|
Static Code Analysis (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.1.0)
The job was canceled because "_8_1_highest__5_4" failed.
|
Static Code Analysis (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.1.0)
Process completed with exit code 2.
|
Static Code Analysis (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.3.0)
The job was canceled because "_8_1_highest__5_4" failed.
|
Static Code Analysis (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.3.0)
Process completed with exit code 2.
|
Unit tests (PHP 8.1 | Dependency versions: highest | Symfony: ~6.1.0)
Process completed with exit code 2.
|
Static Code Analysis (PHP 8.1 | Dependency versions: lowest | Symfony: ^5.4)
The job was canceled because "_8_1_highest__5_4" failed.
|
Static Code Analysis (PHP 8.1 | Dependency versions: lowest | Symfony: ^5.4)
Process completed with exit code 2.
|
Static Code Analysis (PHP 8.0 | Dependency versions: lowest | Symfony: ^5.4)
The job was canceled because "_8_1_highest__5_4" failed.
|
Static Code Analysis (PHP 8.0 | Dependency versions: lowest | Symfony: ^5.4)
The operation was canceled.
|
Static Code Analysis (PHP 8.1 | Dependency versions: highest | Symfony: ~6.3.0)
The job was canceled because "_8_1_highest__5_4" failed.
|
DeprecatedInterface:
src/Api/CommandHandler/AddGiftCardToOrderHandler.php#L16
src/Api/CommandHandler/AddGiftCardToOrderHandler.php:16:13: DeprecatedInterface: Symfony\Component\Messenger\Handler\MessageHandlerInterface is marked deprecated (see https://psalm.dev/152)
|
DeprecatedInterface:
src/Api/CommandHandler/AddItemToCartHandler.php#L24
src/Api/CommandHandler/AddItemToCartHandler.php:24:13: DeprecatedInterface: Symfony\Component\Messenger\Handler\MessageHandlerInterface is marked deprecated (see https://psalm.dev/152)
|
DeprecatedInterface:
src/Api/CommandHandler/AssociateConfigurationToChannelHandler.php#L17
src/Api/CommandHandler/AssociateConfigurationToChannelHandler.php:17:13: DeprecatedInterface: Symfony\Component\Messenger\Handler\MessageHandlerInterface is marked deprecated (see https://psalm.dev/152)
|
Static Code Analysis (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.3.0)
The job was canceled because "_8_1_highest__5_4" failed.
|
DeprecatedInterface:
src/Api/CommandHandler/CreateGiftCardConfigurationHandler.php#L13
src/Api/CommandHandler/CreateGiftCardConfigurationHandler.php:13:13: DeprecatedInterface: Symfony\Component\Messenger\Handler\MessageHandlerInterface is marked deprecated (see https://psalm.dev/152)
|
DeprecatedInterface:
src/Api/CommandHandler/RemoveGiftCardFromOrderHandler.php#L16
src/Api/CommandHandler/RemoveGiftCardFromOrderHandler.php:16:13: DeprecatedInterface: Symfony\Component\Messenger\Handler\MessageHandlerInterface is marked deprecated (see https://psalm.dev/152)
|
Static Code Analysis (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.3.0)
The operation was canceled.
|
ReservedWord:
src/DependencyInjection/Compiler/AddAdjustmentsToOrderAdjustmentClearerPass.php#L22
src/DependencyInjection/Compiler/AddAdjustmentsToOrderAdjustmentClearerPass.php:22:32: ReservedWord: mixed is a reserved word (see https://psalm.dev/095)
|
MixedAssignment:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L34
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:34:9: MixedAssignment: Unable to determine the type that $loader is being assigned to (see https://psalm.dev/032)
|
UndefinedClass:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L34
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:34:23: UndefinedClass: Class, interface or enum named Symfony\Component\DependencyInjection\Loader\XmlFileLoader does not exist (see https://psalm.dev/019)
|
MixedMethodCall:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L66
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:66:18: MixedMethodCall: Cannot determine the type of $loader when calling method load (see https://psalm.dev/015)
|
MixedMethodCall:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L73
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:73:26: MixedMethodCall: Cannot determine the type of $loader when calling method load (see https://psalm.dev/015)
|
Static Code Analysis (PHP 8.1 | Dependency versions: highest | Symfony: ~6.1.0)
The operation was canceled.
|
Unit tests (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.0.0)
The job was canceled because "_8_1_highest__6_1_0" failed.
|
Unit tests (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.0.0)
The operation was canceled.
|
Unit tests (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.3.0)
The operation was canceled.
|
Static Code Analysis (PHP 7.4 | Dependency versions: lowest | Symfony: ^5.4)
The job was canceled because "_8_1_highest__5_4" failed.
|
Static Code Analysis (PHP 7.4 | Dependency versions: lowest | Symfony: ^5.4)
The operation was canceled.
|
Unit tests (PHP 8.0 | Dependency versions: lowest | Symfony: ^5.4)
The operation was canceled.
|
Unit tests (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.2.0)
The operation was canceled.
|
Unit tests (PHP 8.2 | Dependency versions: highest | Symfony: ~6.3.0)
The operation was canceled.
|
Static Code Analysis (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.0.0)
The operation was canceled.
|
Static Code Analysis (PHP 8.2 | Dependency versions: highest | Symfony: ~6.0.0)
The job was canceled because "_8_1_highest__5_4" failed.
|
ReservedWord:
src/DependencyInjection/Compiler/AddAdjustmentsToOrderAdjustmentClearerPass.php#L22
src/DependencyInjection/Compiler/AddAdjustmentsToOrderAdjustmentClearerPass.php:22:32: ReservedWord: mixed is a reserved word (see https://psalm.dev/095)
|
ReservedWord:
src/DependencyInjection/SetonoSyliusGiftCardExtension.php#L66
src/DependencyInjection/SetonoSyliusGiftCardExtension.php:66:9: ReservedWord: mixed is a reserved word (see https://psalm.dev/095)
|
PossiblyInvalidCast:
src/EmailManager/GiftCardEmailManager.php#L141
src/EmailManager/GiftCardEmailManager.php:141:55: PossiblyInvalidCast: false cannot be cast to string (see https://psalm.dev/190)
|
ReservedWord:
src/EventSubscriber/DefaultGiftCardConfigurationSubscriber.php#L36
src/EventSubscriber/DefaultGiftCardConfigurationSubscriber.php:36:34: ReservedWord: mixed is a reserved word (see https://psalm.dev/095)
|
MissingTemplateParam:
src/Repository/GiftCardConfigurationRepositoryInterface.php#L12
src/Repository/GiftCardConfigurationRepositoryInterface.php:12:60: MissingTemplateParam: Setono\SyliusGiftCardPlugin\Repository\GiftCardConfigurationRepositoryInterface has missing template params when extending Sylius\Component\Resource\Repository\RepositoryInterface, expecting 1 (see https://psalm.dev/182)
|
MissingTemplateParam:
src/Repository/GiftCardRepositoryInterface.php#L14
src/Repository/GiftCardRepositoryInterface.php:14:47: MissingTemplateParam: Setono\SyliusGiftCardPlugin\Repository\GiftCardRepositoryInterface has missing template params when extending Sylius\Component\Resource\Repository\RepositoryInterface, expecting 1 (see https://psalm.dev/182)
|
MissingParamType:
src/Validator/Constraints/DatePeriodValidator.php#L22
src/Validator/Constraints/DatePeriodValidator.php:22:30: MissingParamType: Parameter $value has no provided type (see https://psalm.dev/154)
|
MissingParamType:
src/Validator/Constraints/DefaultGiftCardConfigurationMustExistValidator.php#L22
src/Validator/Constraints/DefaultGiftCardConfigurationMustExistValidator.php:22:30: MissingParamType: Parameter $value has no provided type (see https://psalm.dev/154)
|
MissingParamType:
src/Validator/Constraints/GiftCardIsNotExpiredValidator.php#L15
src/Validator/Constraints/GiftCardIsNotExpiredValidator.php:15:30: MissingParamType: Parameter $value has no provided type (see https://psalm.dev/154)
|
MissingParamType:
src/Validator/Constraints/HasBackgroundImageValidator.php#L14
src/Validator/Constraints/HasBackgroundImageValidator.php:14:30: MissingParamType: Parameter $value has no provided type (see https://psalm.dev/154)
|
Static Code Analysis (PHP 8.1 | Dependency versions: highest | Symfony: ~6.0.0)
The operation was canceled.
|
Unit tests (PHP 8.1 | Dependency versions: highest | Symfony: ^5.4)
The operation was canceled.
|
Static Code Analysis (PHP 8.2 | Dependency versions: highest | Symfony: ^5.4)
The operation was canceled.
|
Static Code Analysis (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.2.0)
The operation was canceled.
|
Static Code Analysis (PHP 8.2 | Dependency versions: highest | Symfony: ~6.2.0)
The operation was canceled.
|
Static Code Analysis (PHP 8.2 | Dependency versions: lowest | Symfony: ^5.4)
The operation was canceled.
|
Static Code Analysis (PHP 8.2 | Dependency versions: highest | Symfony: ~6.3.0)
The operation was canceled.
|
Unit tests (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.1.0)
The operation was canceled.
|
Static Code Analysis (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.2.0)
The operation was canceled.
|
Static Code Analysis (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.0.0)
The operation was canceled.
|
Unit tests (PHP 8.2 | Dependency versions: lowest | Symfony: ^5.4)
The operation was canceled.
|
Unit tests (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.3.0)
The operation was canceled.
|
Static Code Analysis (PHP 8.0 | Dependency versions: highest | Symfony: ^5.4)
The operation was canceled.
|
Unit tests (PHP 7.4 | Dependency versions: lowest | Symfony: ^5.4)
The operation was canceled.
|
Unit tests (PHP 8.2 | Dependency versions: highest | Symfony: ~6.1.0)
The operation was canceled.
|
Unit tests (PHP 8.1 | Dependency versions: highest | Symfony: ~6.3.0)
The operation was canceled.
|
Unit tests (PHP 8.2 | Dependency versions: highest | Symfony: ~6.2.0)
The operation was canceled.
|
Unit tests (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.2.0)
The operation was canceled.
|
Unit tests (PHP 8.1 | Dependency versions: highest | Symfony: ~6.2.0)
The operation was canceled.
|
Unit tests (PHP 8.1 | Dependency versions: lowest | Symfony: ~6.0.0)
The operation was canceled.
|
Unit tests (PHP 8.2 | Dependency versions: highest | Symfony: ^5.4)
The operation was canceled.
|
Unit tests (PHP 8.2 | Dependency versions: highest | Symfony: ~6.0.0)
The operation was canceled.
|
Unit tests (PHP 8.2 | Dependency versions: lowest | Symfony: ~6.1.0)
The operation was canceled.
|
Unit tests (PHP 8.1 | Dependency versions: lowest | Symfony: ^5.4)
The operation was canceled.
|
Unit tests (PHP 8.1 | Dependency versions: highest | Symfony: ~6.0.0)
The operation was canceled.
|
Unit tests (PHP 7.4 | Dependency versions: highest | Symfony: ^5.4)
The operation was canceled.
|
Integration tests (PHP 8.2 | Dependency versions: highest | Symfony: ^5.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: ^5.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: ^5.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.1 | Dependency versions: highest | Symfony: ^5.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.0 | Dependency versions: highest | Symfony: ^5.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.0 | Dependency versions: highest | Symfony: ^5.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 7.4 | Dependency versions: highest | Symfony: ^5.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 7.4 | Dependency versions: highest | Symfony: ^5.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/
|