feat: introduce attribute #[MapTo] #256
Annotations
11 errors and 10 warnings
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#L69
Parameter #1 $customTransformer of method AutoMapper\CustomTransformer\CustomTransformersRegistry::addCustomTransformer() expects AutoMapper\CustomTransformer\CustomTransformerInterface, object given.
|
phpstan:
src/CustomTransformer/CustomTransformerGenerator.php#L71
Method AutoMapper\CustomTransformer\CustomTransformerGenerator::generateMapToCustomTransformer() should return class-string<AutoMapper\CustomTransformer\CustomTransformerInterface> but returns string.
|
phpstan:
src/CustomTransformer/CustomTransformerGenerator.php#L88
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#L127
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#L138
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#L40
Parameter #1 $source of method AutoMapper\CustomTransformer\CustomPropertyTransformerInterface::supports() expects 'array'|class-string, string given.
|
phpstan:
src/CustomTransformer/CustomTransformersRegistry.php#L40
Parameter #2 $target of method AutoMapper\CustomTransformer\CustomPropertyTransformerInterface::supports() expects 'array'|class-string, string given.
|
phpstan:
src/Extractor/AstExtractor.php#L26
Parameter #1 $objectOrClass of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
|
check-version
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, shivammathur/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
tests (8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, shivammathur/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
cs-check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: shivammathur/[email protected], actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
tests (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, shivammathur/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v2, shivammathur/[email protected], actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|