Skip to content

PHPStan 4 compat

PHPStan 4 compat #412

Triggered via push August 12, 2024 04:03
Status Failure
Total duration 3m 41s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
PHPStan: vendor/yireo/magento2-googletagmanager2/Test/Integration/FixtureTrait/CreateCategory.php (in context of class Yireo/GoogleTagManager2/Test/Integration/Page/CategoryPageTest)#L23
PHPDoc tag @var has invalid value ($category Category): Unexpected token "$category", expected type at offset 9
PHPStan: vendor/yireo/magento2-googletagmanager2/Test/Integration/FixtureTrait/CreateCategory.php (in context of class Yireo/GoogleTagManager2/Test/Integration/Page/ProductPageTest)#L23
PHPDoc tag @var has invalid value ($category Category): Unexpected token "$category", expected type at offset 9
PHPStan: vendor/yireo/magento2-googletagmanager2/Test/Integration/FixtureTrait/CreateProduct.php (in context of class Yireo/GoogleTagManager2/Test/Integration/Page/CategoryPageTest)#L44
PHPDoc tag @var has invalid value ($product ProductModel): Unexpected token "$product", expected type at offset 9
PHPStan: vendor/yireo/magento2-googletagmanager2/Test/Integration/FixtureTrait/CreateProduct.php (in context of class Yireo/GoogleTagManager2/Test/Integration/Page/ProductPageTest)#L44
PHPDoc tag @var has invalid value ($product ProductModel): Unexpected token "$product", expected type at offset 9
PHPStan: vendor/yireo/magento2-googletagmanager2/Test/Integration/Page/CategoryPageTest.php#L44
Call to an undefined method Magento\Catalog\Api\Data\CategoryInterface::getProductCollection().
PHPStan: vendor/yireo/magento2-googletagmanager2/Test/Integration/Page/CategoryPageTest.php#L50
Call to an undefined method Magento\Framework\App\ResponseInterface::getBody().
PHPStan
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. 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 Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/