Commit 835789cc authored by git's avatar git Committed by Neslee Canil Pinto
Browse files

Issue #3290500 by Project Update Bot: Automated Drupal 10 compatibility fixes

parent ae7fdd79
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -35,10 +35,10 @@ class AjaxResponseSubscriber implements EventSubscriberInterface {
  /**
   * Renders the ajax commands right before preparing the result.
   *
   * @param \Symfony\Component\HttpKernel\Event\FilterResponseEvent $event
   * @param \Symfony\Component\HttpKernel\Event\ResponseEvent $event
   *   The response event, which contains the possible AjaxResponse object.
   */
  public function onResponse(FilterResponseEvent $event) {
  public function onResponse(\Symfony\Component\HttpKernel\Event\ResponseEvent $event) {
    $response = $event->getResponse();

    // Only alter views ajax responses.
+1 −1
Original line number Diff line number Diff line
@@ -26,7 +26,7 @@ class IntegrationSmokeTest extends BrowserTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();
    $this->drupalLogin($this->createUser(['administer views']));
  }
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ class InfiniteScrollTest extends WebDriverTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp(): void {
    parent::setUp();
    $this->createContentType([
      'type' => 'page',
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@ name: Views Infinite Scroll
type: module
description: A pager which allows an infinite scroll effect for views.
package: Views
core_version_requirement: ^9.2
core_version_requirement: ^9.2 || ^10

dependencies:
 - drupal:views