Skip to content

Add Psalm plugin and remove sylius/admin-api-bundle from require-dev #22

Add Psalm plugin and remove sylius/admin-api-bundle from require-dev

Add Psalm plugin and remove sylius/admin-api-bundle from require-dev #22

Triggered via push February 26, 2024 22:23
Status Failure
Total duration 2m 25s
Artifacts

build.yaml

on: push
Matrix: code-coverage
Matrix: coding-standards
Matrix: dependency-analysis
Matrix: integration-tests
Matrix: Mutation tests
Matrix: static-code-analysis
Matrix: unit-tests
Fit to window
Zoom out
Zoom in

Annotations

45 errors
Unit tests (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 127.
PossiblyNullArgument: src/Assigner/ProductsAssigner.php#L18
src/Assigner/ProductsAssigner.php:18:21: PossiblyNullArgument: Argument 2 of sprintf cannot be null, possibly null value provided (see https://psalm.dev/078)
TooFewArguments: src/DependencyInjection/Configuration.php#L31
src/DependencyInjection/Configuration.php:31:28: TooFewArguments: Too few arguments for Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct - expecting name to be passed (see https://psalm.dev/025)
MixedAssignment: src/DependencyInjection/Configuration.php#L32
src/DependencyInjection/Configuration.php:32:13: MixedAssignment: Unable to determine the type that $rootNode is being assigned to (see https://psalm.dev/032)
MixedArgument: src/DependencyInjection/Configuration.php#L42
src/DependencyInjection/Configuration.php:42:36: MixedArgument: Argument 1 of Loevgaard\SyliusBrandPlugin\DependencyInjection\Configuration::addResourcesSection cannot be Symfony\Component\Config\Definition\Builder\NodeDefinition|mixed, expecting Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition (see https://psalm.dev/030)
PossiblyNullReference: src/DependencyInjection/Configuration.php#L58
src/DependencyInjection/Configuration.php:58:35: PossiblyNullReference: Cannot call method arrayNode on possibly null value (see https://psalm.dev/083)
UndefinedInterfaceMethod: src/DependencyInjection/Configuration.php#L58
src/DependencyInjection/Configuration.php:58:35: UndefinedInterfaceMethod: Method Symfony\Component\Config\Definition\Builder\NodeParentInterface::arrayNode does not exist (see https://psalm.dev/181)
MixedMethodCall: src/DependencyInjection/Configuration.php#L59
src/DependencyInjection/Configuration.php:59:39: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: src/DependencyInjection/Configuration.php#L60
src/DependencyInjection/Configuration.php:60:39: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: src/DependencyInjection/Configuration.php#L61
src/DependencyInjection/Configuration.php:61:43: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: src/DependencyInjection/Configuration.php#L61
src/DependencyInjection/Configuration.php:61:64: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
Static Code Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_lowest__5_4_0" failed.
PossiblyNullArgument: src/Assigner/ProductsAssigner.php#L18
src/Assigner/ProductsAssigner.php:18:21: PossiblyNullArgument: Argument 2 of sprintf cannot be null, possibly null value provided (see https://psalm.dev/078)
TooFewArguments: src/DependencyInjection/Configuration.php#L31
src/DependencyInjection/Configuration.php:31:28: TooFewArguments: Too few arguments for Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct - expecting name to be passed (see https://psalm.dev/025)
MixedAssignment: src/DependencyInjection/Configuration.php#L32
src/DependencyInjection/Configuration.php:32:13: MixedAssignment: Unable to determine the type that $rootNode is being assigned to (see https://psalm.dev/032)
MixedArgument: src/DependencyInjection/Configuration.php#L42
src/DependencyInjection/Configuration.php:42:36: MixedArgument: Argument 1 of Loevgaard\SyliusBrandPlugin\DependencyInjection\Configuration::addResourcesSection cannot be Symfony\Component\Config\Definition\Builder\NodeDefinition|mixed, expecting Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition (see https://psalm.dev/030)
PossiblyNullReference: src/DependencyInjection/Configuration.php#L58
src/DependencyInjection/Configuration.php:58:35: PossiblyNullReference: Cannot call method arrayNode on possibly null value (see https://psalm.dev/083)
UndefinedInterfaceMethod: src/DependencyInjection/Configuration.php#L58
src/DependencyInjection/Configuration.php:58:35: UndefinedInterfaceMethod: Method Symfony\Component\Config\Definition\Builder\NodeParentInterface::arrayNode does not exist (see https://psalm.dev/181)
MixedMethodCall: src/DependencyInjection/Configuration.php#L59
src/DependencyInjection/Configuration.php:59:39: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: src/DependencyInjection/Configuration.php#L60
src/DependencyInjection/Configuration.php:60:39: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: src/DependencyInjection/Configuration.php#L61
src/DependencyInjection/Configuration.php:61:43: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: src/DependencyInjection/Configuration.php#L61
src/DependencyInjection/Configuration.php:61:64: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
Coding Standards (PHP8.1 | Deps: highest)
Process completed with exit code 1.
Static Code Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_lowest__5_4_0" failed.
Static Code Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_lowest__5_4_0" failed.
PossiblyNullArgument: src/Assigner/ProductsAssigner.php#L18
src/Assigner/ProductsAssigner.php:18:21: PossiblyNullArgument: Argument 2 of sprintf cannot be null, possibly null value provided (see https://psalm.dev/078)
TooFewArguments: src/DependencyInjection/Configuration.php#L31
src/DependencyInjection/Configuration.php:31:28: TooFewArguments: Too few arguments for Symfony\Component\Config\Definition\Builder\TreeBuilder::__construct - expecting name to be passed (see https://psalm.dev/025)
MixedAssignment: src/DependencyInjection/Configuration.php#L32
src/DependencyInjection/Configuration.php:32:13: MixedAssignment: Unable to determine the type that $rootNode is being assigned to (see https://psalm.dev/032)
MixedArgument: src/DependencyInjection/Configuration.php#L42
src/DependencyInjection/Configuration.php:42:36: MixedArgument: Argument 1 of Loevgaard\SyliusBrandPlugin\DependencyInjection\Configuration::addResourcesSection cannot be Symfony\Component\Config\Definition\Builder\NodeDefinition|mixed, expecting Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition (see https://psalm.dev/030)
PossiblyNullReference: src/DependencyInjection/Configuration.php#L58
src/DependencyInjection/Configuration.php:58:35: PossiblyNullReference: Cannot call method arrayNode on possibly null value (see https://psalm.dev/083)
UndefinedInterfaceMethod: src/DependencyInjection/Configuration.php#L58
src/DependencyInjection/Configuration.php:58:35: UndefinedInterfaceMethod: Method Symfony\Component\Config\Definition\Builder\NodeParentInterface::arrayNode does not exist (see https://psalm.dev/181)
MixedMethodCall: src/DependencyInjection/Configuration.php#L59
src/DependencyInjection/Configuration.php:59:39: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: src/DependencyInjection/Configuration.php#L60
src/DependencyInjection/Configuration.php:60:39: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: src/DependencyInjection/Configuration.php#L61
src/DependencyInjection/Configuration.php:61:43: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
MixedMethodCall: src/DependencyInjection/Configuration.php#L61
src/DependencyInjection/Configuration.php:61:64: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
Unit tests (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Unit tests (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Unit tests (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Integration tests (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 255.
Integration tests (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Integration tests (PHP8.2 | Deps: highest | SF~5.4.0)
Process completed with exit code 255.
Integration tests (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Integration tests (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_highest__5_4_0" failed.
Code Coverage (PHP8.2 | Deps: highest)
Process completed with exit code 127.
Mutation tests (8.2, highest)
Process completed with exit code 127.