feat(transformer): use directly the custom transformer instead of ext… #275
Annotations
10 errors and 10 warnings
phpstan:
src/AutoMapper.php#L101
Call to an undefined method object::setCustomTransformers().
|
phpstan:
src/Generator/CreateTargetStatementsGenerator.php#L31
Property AutoMapper\Generator\CreateTargetStatementsGenerator::$customTransformerExtractor is never read, only written.
|
phpstan:
src/Generator/CreateTargetStatementsGenerator.php#L214
Method AutoMapper\Transformer\TransformerInterface::transform() invoked with 5 parameters, 4 required.
|
phpstan:
src/Generator/PropertyStatementsGenerator.php#L21
Property AutoMapper\Generator\PropertyStatementsGenerator::$customTransformerExtractor is never read, only written.
|
phpstan:
src/Generator/PropertyStatementsGenerator.php#L42
Method AutoMapper\Transformer\TransformerInterface::transform() invoked with 5 parameters, 4 required.
|
phpstan:
src/Generator/Shared/DiscriminatorStatementsGenerator.php#L1
Ignored error pattern #^Cannot call method transform\(\) on AutoMapper\\Transformer\\TransformerInterface\|class\-string\<AutoMapper\\Transformer\\CustomTransformer\\CustomTransformerInterface\>\.$# in path /home/runner/work/automapper/automapper/src/Generator/Shared/DiscriminatorStatementsGenerator.php was not matched in reported errors.
|
phpstan:
src/Generator/Shared/DiscriminatorStatementsGenerator.php#L93
Parameter #3 $propertyMapping of method AutoMapper\Transformer\TransformerInterface::transform() expects AutoMapper\Extractor\PropertyMapping, AutoMapper\Extractor\PropertyMapping|null given.
|
phpstan:
src/Transformer/AbstractArrayTransformer.php#L50
Method AutoMapper\Transformer\TransformerInterface::transform() invoked with 5 parameters, 4 required.
|
phpstan:
src/Transformer/ChainTransformerFactory.php#L18
PHPDoc tag @var for property AutoMapper\Transformer\ChainTransformerFactory::$sorted with type array<AutoMapper\Transformer\TransformerPropertyFactoryInterface>|AutoMapper\Transformer\TransformerFactoryInterface|null is not subtype of native type array|null.
|
phpstan:
src/Transformer/ChainTransformerFactory.php#L18
Property AutoMapper\Transformer\ChainTransformerFactory::$sorted type has no value type specified in iterable type array.
|
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/
|
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/
|
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/
|