Skip to content

feat/attribute map to #211

feat/attribute map to

feat/attribute map to #211

Triggered via pull request January 12, 2024 17:30
Status Failure
Total duration 58s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 5 warnings
tests (8.3)
Process completed with exit code 2.
tests (8.2)
Process completed with exit code 2.
cs-check
Process completed with exit code 8.
phpstan: src/CustomTransformer/CustomTransformerGenerator.php#L46
Parameter #1 $customTransformer of method AutoMapper\CustomTransformer\CustomTransformersRegistry::addCustomTransformer() expects AutoMapper\CustomTransformer\CustomTransformerInterface, object given.
phpstan: src/CustomTransformer/CustomTransformerGenerator.php#L48
Method AutoMapper\CustomTransformer\CustomTransformerGenerator::generateMapToCustomTransformer() should return class-string<AutoMapper\CustomTransformer\CustomTransformerInterface> but returns class-string.
phpstan: src/CustomTransformer/CustomTransformerGenerator.php#L66
Parameter #1 $customTransformer of method AutoMapper\CustomTransformer\CustomTransformersRegistry::addCustomTransformer() expects AutoMapper\CustomTransformer\CustomTransformerInterface, object given.
phpstan: src/CustomTransformer/CustomTransformerGenerator.php#L68
Method AutoMapper\CustomTransformer\CustomTransformerGenerator::generateMapToCustomTransformer() should return class-string<AutoMapper\CustomTransformer\CustomTransformerInterface> but returns string.
phpstan: src/CustomTransformer/CustomTransformerGenerator.php#L87
Parameter #1 $type of method PhpParser\Builder\FunctionLike::setReturnType() expects PhpParser\Node\ComplexType|PhpParser\Node\Identifier|PhpParser\Node\Name|string, PhpParser\Node\ComplexType|PhpParser\Node\Identifier|PhpParser\Node\Name|null given.
phpstan: src/CustomTransformer/CustomTransformerGenerator.php#L128
Parameter #1 $type of method PhpParser\Builder\FunctionLike::setReturnType() expects PhpParser\Node\ComplexType|PhpParser\Node\Identifier|PhpParser\Node\Name|string, PhpParser\Node\ComplexType|PhpParser\Node\Identifier|PhpParser\Node\Name|null given.
phpstan: src/CustomTransformer/CustomTransformerGenerator.php#L139
Parameter #1 $input of method AutoMapper\Extractor\ReadAccessor::getExpression() expects PhpParser\Node\Expr\Variable, PhpParser\Node\Expr\Error|PhpParser\Node\Expr\Variable given.
phpstan: src/CustomTransformer/CustomTransformersRegistry.php#L16
PHPDoc tag @var for property AutoMapper\CustomTransformer\CustomTransformersRegistry::$customTransformers with type AutoMapper\CustomTransformer\CustomTransformerInterface is incompatible with native type array.
phpstan: src/CustomTransformer/CustomTransformersRegistry.php#L16
Property AutoMapper\CustomTransformer\CustomTransformersRegistry::$customTransformers type has no value type specified in iterable type array.
phpstan: src/CustomTransformer/CustomTransformersRegistry.php#L19
PHPDoc tag @var for property AutoMapper\CustomTransformer\CustomTransformersRegistry::$prioritizedCustomTransformers with type AutoMapper\CustomTransformer\CustomTransformerInterface|null is not subtype of native type array|null.
tests (8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, shivammathur/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tests (8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, shivammathur/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check-version
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, shivammathur/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
cs-check
The following actions uses node12 which is deprecated and will be forced to run on node16: shivammathur/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpstan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, shivammathur/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/