Loading src/EventSubscriber/AjaxResponseSubscriber.php +2 −2 Original line number Diff line number Diff line Loading @@ -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. Loading tests/src/Functional/IntegrationSmokeTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ class IntegrationSmokeTest extends BrowserTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->drupalLogin($this->createUser(['administer views'])); } Loading tests/src/FunctionalJavascript/InfiniteScrollTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ class InfiniteScrollTest extends WebDriverTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->createContentType([ 'type' => 'page', Loading views_infinite_scroll.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
src/EventSubscriber/AjaxResponseSubscriber.php +2 −2 Original line number Diff line number Diff line Loading @@ -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. Loading
tests/src/Functional/IntegrationSmokeTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ class IntegrationSmokeTest extends BrowserTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->drupalLogin($this->createUser(['administer views'])); } Loading
tests/src/FunctionalJavascript/InfiniteScrollTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ class InfiniteScrollTest extends WebDriverTestBase { /** * {@inheritdoc} */ protected function setUp() { protected function setUp(): void { parent::setUp(); $this->createContentType([ 'type' => 'page', Loading
views_infinite_scroll.info.yml +1 −1 Original line number Diff line number Diff line Loading @@ -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