Skip to content
Snippets Groups Projects
Commit d4b51f04 authored by Jonathan Sacksick's avatar Jonathan Sacksick
Browse files

Issue #3406432 followup by jsacksick: Stop ignoring the toRenderArray() deprecations().

parent 4f8e8401
Branches
Tags
2 merge requests!235Issue #3115150 by mbovan: Submitting add to cart form with empty quantity...,!205Issue #3349465 by tBKoT, jsacksick, bojanz: Update several VAT rates and setup...
Pipeline #60479 passed
...@@ -195,9 +195,7 @@ class CouponRedemption extends AreaPluginBase { ...@@ -195,9 +195,7 @@ class CouponRedemption extends AreaPluginBase {
$order_total['#suffix'] = '</div>'; $order_total['#suffix'] = '</div>';
$response = new AjaxResponse(); $response = new AjaxResponse();
if (isset($order_total)) { $response->addCommand(new ReplaceCommand('[data-drupal-selector="order-total-summary"]', $order_total));
$response->addCommand(new ReplaceCommand('[data-drupal-selector="order-total-summary"]', $order_total));
}
$response->addCommand(new InsertCommand('[data-drupal-selector="' . $inline_form['#attributes']['data-drupal-selector'] . '"]', $inline_form)); $response->addCommand(new InsertCommand('[data-drupal-selector="' . $inline_form['#attributes']['data-drupal-selector'] . '"]', $inline_form));
$response->addCommand(new PrependCommand('[data-drupal-selector="' . $inline_form['#attributes']['data-drupal-selector'] . '"]', ['#type' => 'status_messages'])); $response->addCommand(new PrependCommand('[data-drupal-selector="' . $inline_form['#attributes']['data-drupal-selector'] . '"]', ['#type' => 'status_messages']));
......
...@@ -210,15 +210,6 @@ parameters: ...@@ -210,15 +210,6 @@ parameters:
count: 1 count: 1
path: modules/product/src/Plugin/Validation/Constraint/ProductVariationSkuConstraintValidator.php path: modules/product/src/Plugin/Validation/Constraint/ProductVariationSkuConstraintValidator.php
-
message: """
#^Call to deprecated method toRenderArray\\(\\) of class Drupal\\\\Core\\\\Url\\:
in drupal\\:10\\.1\\.0 and is removed from drupal\\:11\\.0\\.0\\. There is no
replacement\\.$#
"""
count: 1
path: modules/product/src/ProductListBuilder.php
- -
message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#" message: "#^\\\\Drupal calls should be avoided in classes, use dependency injection instead$#"
count: 1 count: 1
...@@ -244,11 +235,6 @@ parameters: ...@@ -244,11 +235,6 @@ parameters:
count: 1 count: 1
path: modules/promotion/src/Plugin/views/area/CouponRedemption.php path: modules/promotion/src/Plugin/views/area/CouponRedemption.php
-
message: "#^Variable \\$order_total in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: modules/promotion/src/Plugin/views/area/CouponRedemption.php
- -
message: """ message: """
#^Call to deprecated function system_time_zones\\(\\)\\: #^Call to deprecated function system_time_zones\\(\\)\\:
...@@ -270,15 +256,6 @@ parameters: ...@@ -270,15 +256,6 @@ parameters:
count: 1 count: 1
path: modules/store/src/Form/StoreTypeForm.php path: modules/store/src/Form/StoreTypeForm.php
-
message: """
#^Call to deprecated method toRenderArray\\(\\) of class Drupal\\\\Core\\\\Url\\:
in drupal\\:10\\.1\\.0 and is removed from drupal\\:11\\.0\\.0\\. There is no
replacement\\.$#
"""
count: 1
path: modules/store/src/StoreListBuilder.php
- -
message: "#^Method Drupal\\\\commerce_tax\\\\Form\\\\TaxTypeForm\\:\\:save\\(\\) should return int but return statement is missing\\.$#" message: "#^Method Drupal\\\\commerce_tax\\\\Form\\\\TaxTypeForm\\:\\:save\\(\\) should return int but return statement is missing\\.$#"
count: 1 count: 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment