Change type hint for productId, from int to string #975
Annotations
2 errors and 10 warnings
Phan Analysis
Process completed with exit code 1.
|
Phan Analysis
Process completed with exit code 1.
|
Phan Analysis
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Phan Analysis
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Phan Analysis
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Phan Analysis:
Model/Product/Repository.php#L212
Argument 1 ($productId) is $product->getId() of type int|null but \Nosto\Tagging\Exception\ParentProductDisabledException::__construct() takes string defined at Exception/ParentProductDisabledException.php:44
|
Phan Analysis:
Model/Product/Repository.php#L340
Argument 1 ($productId) is $productId of type string but \Magento\Catalog\Model\ProductRepository::getById() takes int defined at vendor/magento/module-catalog/Model/ProductRepository.php:298
|
Phan Analysis:
Model/Service/Cache/CacheService.php#L115
Argument 1 ($productId) is $product->getId() of type int|null but \Nosto\Tagging\Model\Service\Cache\CacheService::getById() takes string defined at Model/Service/Cache/CacheService.php:137
|
Phan Analysis:
Model/Service/Stock/Provider/CachingStockProvider.php#L78
Argument 1 ($productId) is $product->getId() of type int but \Nosto\Tagging\Model\Service\Stock\Provider\CachingStockProvider::existsInQuantityCache() takes string defined at Model/Service/Stock/Provider/CachingStockProvider.php:205
|
Phan Analysis:
Model/Service/Stock/Provider/CachingStockProvider.php#L79
Argument 1 ($productId) is $product->getId() of type int but \Nosto\Tagging\Model\Service\Stock\Provider\CachingStockProvider::getQuantityFromCache() takes string defined at Model/Service/Stock/Provider/CachingStockProvider.php:182
|
Phan Analysis:
Model/Service/Stock/Provider/CachingStockProvider.php#L82
Argument 1 ($productId) is $product->getId() of type int but \Nosto\Tagging\Model\Service\Stock\Provider\CachingStockProvider::saveQuantityToCache() takes string defined at Model/Service/Stock/Provider/CachingStockProvider.php:164
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "phan-analysis-results".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
phan-analysis-results
Expired
|
2.08 KB |
|