Fixing bug in assignment #396
build.yaml
on: push
Matrix: code-coverage
Matrix: coding-standards
Matrix: dependency-analysis
Matrix: integration-tests
Matrix: static-code-analysis
Matrix: unit-tests
Annotations
21 errors and 12 warnings
Integration tests (PHP8.2 | Deps: highest | SF^6.3)
Process completed with exit code 255.
|
Integration tests (PHP8.1 | Deps: highest | SF^5.4)
The job was canceled because "_8_2_highest__6_3" failed.
|
Integration tests (PHP8.1 | Deps: highest | SF^5.4)
The operation was canceled.
|
Integration tests (PHP8.2 | Deps: highest | SF^5.4)
The job was canceled because "_8_2_highest__6_3" failed.
|
Static Code Analysis (PHP8.2 | Deps: highest | SF^5.4)
Process completed with exit code 1.
|
Static Code Analysis (PHP8.1 | Deps: highest | SF^6.3)
The job was canceled because "_8_2_highest__5_4" failed.
|
Static Code Analysis (PHP8.1 | Deps: highest | SF^6.3)
The operation was canceled.
|
Static Code Analysis (PHP8.1 | Deps: highest | SF^5.4)
The job was canceled because "_8_2_highest__5_4" failed.
|
Static Code Analysis (PHP8.1 | Deps: highest | SF^5.4)
The operation was canceled.
|
Integration tests (PHP8.1 | Deps: highest | SF^6.3)
The job was canceled because "_8_2_highest__6_3" failed.
|
Static Code Analysis (PHP8.2 | Deps: highest | SF^6.3)
The job was canceled because "_8_2_highest__5_4" failed.
|
RiskyTruthyFalsyComparison:
src/Controller/Action/Shop/ShowFeedAction.php#L87
src/Controller/Action/Shop/ShowFeedAction.php:87:17: RiskyTruthyFalsyComparison: Operand of type bool|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
TooManyTemplateParams:
src/Factory/ViolationFactoryInterface.php#L16
src/Factory/ViolationFactoryInterface.php:16:45: TooManyTemplateParams: Setono\SyliusFeedPlugin\Factory\ViolationFactoryInterface has too many template params when extending Sylius\Component\Resource\Factory\FactoryInterface, expecting 0 (see https://psalm.dev/184)
|
ParamNameMismatch:
src/Form/DataTransformer/FeedTypeToCodeTransformer.php#L27
src/Form/DataTransformer/FeedTypeToCodeTransformer.php:27:31: ParamNameMismatch: Argument 1 of Setono\SyliusFeedPlugin\Form\DataTransformer\FeedTypeToCodeTransformer::transform has wrong name $code, expecting $value as defined by Symfony\Component\Form\DataTransformerInterface::transform (see https://psalm.dev/230)
|
ParamNameMismatch:
src/Form/DataTransformer/FeedTypeToCodeTransformer.php#L43
src/Form/DataTransformer/FeedTypeToCodeTransformer.php:43:38: ParamNameMismatch: Argument 1 of Setono\SyliusFeedPlugin\Form\DataTransformer\FeedTypeToCodeTransformer::reverseTransform has wrong name $feedType, expecting $value as defined by Symfony\Component\Form\DataTransformerInterface::reverseTransform (see https://psalm.dev/230)
|
MoreSpecificReturnType:
src/Message/Handler/GenerateBatchHandler.php#L302
src/Message/Handler/GenerateBatchHandler.php:302:56: MoreSpecificReturnType: The declared return type 'Symfony\Component\Workflow\Workflow' for Setono\SyliusFeedPlugin\Message\Handler\GenerateBatchHandler::getWorkflow is more specific than the inferred return type 'Symfony\Component\Workflow\WorkflowInterface' (see https://psalm.dev/070)
|
LessSpecificReturnStatement:
src/Message/Handler/GenerateBatchHandler.php#L314
src/Message/Handler/GenerateBatchHandler.php:314:16: LessSpecificReturnStatement: The type 'Symfony\Component\Workflow\WorkflowInterface' is more general than the declared return type 'Symfony\Component\Workflow\Workflow' for Setono\SyliusFeedPlugin\Message\Handler\GenerateBatchHandler::getWorkflow (see https://psalm.dev/129)
|
TooManyTemplateParams:
src/Repository/FeedRepositoryInterface.php#L13
src/Repository/FeedRepositoryInterface.php:13:43: TooManyTemplateParams: Setono\SyliusFeedPlugin\Repository\FeedRepositoryInterface has too many template params when extending Sylius\Component\Resource\Repository\RepositoryInterface, expecting 0 (see https://psalm.dev/184)
|
TooManyTemplateParams:
src/Repository/ViolationRepositoryInterface.php#L16
src/Repository/ViolationRepositoryInterface.php:16:48: TooManyTemplateParams: Setono\SyliusFeedPlugin\Repository\ViolationRepositoryInterface has too many template params when extending Sylius\Component\Resource\Repository\RepositoryInterface, expecting 0 (see https://psalm.dev/184)
|
Static Code Analysis (PHP8.2 | Deps: highest | SF^6.3)
The operation was canceled.
|
Coding Standards (PHP8.1 | Deps: highest)
Process completed with exit code 255.
|
Unit tests (PHP8.2 | Deps: highest | SF^6.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (PHP8.2 | Deps: highest | SF^5.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. 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 (PHP8.2 | Deps: highest | SF^6.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Dependency Analysis (PHP8.2 | Deps: highest | SF^5.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Dependency Analysis (PHP8.2 | Deps: highest | SF^6.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Static Code Analysis (PHP8.2 | Deps: highest | SF^5.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (PHP8.1 | Deps: highest | SF^6.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Code Coverage (PHP8.2 | Deps: highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Coding Standards (PHP8.1 | Deps: highest)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Dependency Analysis (PHP8.1 | Deps: highest | SF^6.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Unit tests (PHP8.1 | Deps: highest | SF^5.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Dependency Analysis (PHP8.1 | Deps: highest | SF^5.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|