Properly implement allowed_pages
in Hyva scripts
#285
Annotations
10 errors and 1 warning
PHPStan:
DataLayer/Event/AddShippingInfo.php#L65
Call to an undefined method Magento\Quote\Api\ShippingMethodManagementInterface::get().
|
PHPStan:
DataLayer/Mapper/CartItemDataMapper.php#L70
Call to an undefined method Magento\Quote\Api\Data\CartItemInterface::getStoreId().
|
PHPStan:
DataLayer/Tag/Product/CurrentPrice.php#L36
Call to an undefined method Magento\Catalog\Api\Data\ProductInterface::getPriceInfo().
|
PHPStan:
DataLayer/TagParser.php#L38
PHPDoc tag @param has invalid value ($tagName): Unexpected token "$tagName", expected type at offset 18
|
PHPStan:
DataLayer/TagParser.php#L38
PHPDoc tag @param has invalid value ($tagValue): Unexpected token "$tagValue", expected type at offset 41
|
PHPStan:
Plugin/AddDataToCustomerSection.php#L59
PHPDoc tag @param has invalid value ($result): Unexpected token "$result", expected type at offset 54
|
PHPStan:
Plugin/TriggerAddPaymentInfoDataLayerEvent.php#L56
PHPDoc tag @param has invalid value ($cartId): Unexpected token "$cartId", expected type at offset 102
|
PHPStan:
Plugin/TriggerAddPaymentInfoDataLayerEvent.php#L56
PHPDoc tag @param has invalid value ($orderId): Unexpected token "$orderId", expected type at offset 18
|
PHPStan:
Test/Integration/Block/DataLayerTest.php#L55
Call to an undefined method Magento\Framework\App\ResponseInterface::getBody().
|
PHPStan:
Test/Integration/Block/ScriptTest.php#L32
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/
|