Problem/Motivation

Hello project maintainers,

This issue is to help make this module compatible with Drupal 10.

Patches will be added to this issue that remove Drupal 10 deprecated API uses.

Remaining tasks

------ ---------------------------------------------------------------------------------------------------------------
Line /tests/src/Functional/SimplesamlphpAuthTest.php
------ ---------------------------------------------------------------------------------------------------------------
90 Call to deprecated method drupalPostForm() of class Drupal\Tests\BrowserTestBase.
Deprecated in drupal:9.1.0 and is removed from drupal:10.0.0.
Use $this->submitForm() instead.
------ ---------------------------------------------------------------------------------------------------------------

------ ---------------------------------------------------------------------------------------------------------------
Line src/EventSubscriber/SimplesamlSubscriber.php
------ ---------------------------------------------------------------------------------------------------------------
84 Parameter $event of method Drupal\simplesamlphp_auth\EventSubscriber\SimplesamlSubscriber::checkAuthStatus()
has typehint with deprecated class Symfony\Component\HttpKernel\Event\GetResponseEvent:
since Symfony 4.3, use RequestEvent instead
------ ---------------------------------------------------------------------------------------------------------------

------ ---------------------------------------------------------------------------------------------------------------
Line src/EventSubscriber/SimplesamlSubscriber.php
------ ---------------------------------------------------------------------------------------------------------------
117 Call to deprecated method stopPropagation() of class Symfony\Component\EventDispatcher\Event:
since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead
------ ---------------------------------------------------------------------------------------------------------------

------ ---------------------------------------------------------------------------------------------------------------
Line src/EventSubscriber/SimplesamlSubscriber.php
------ ---------------------------------------------------------------------------------------------------------------
127 Parameter $event of method Drupal\simplesamlphp_auth\EventSubscriber\
SimplesamlSubscriber::login_directly_with_external_IdP() has typehint with deprecated class
Symfony\Component\HttpKernel\Event\GetResponseEvent: since Symfony 4.3, use RequestEvent instead
------ ---------------------------------------------------------------------------------------------------------------

------ ---------------------------------------------------------------------------------------------------------------
Line src/EventSubscriber/SimplesamlSubscriber.php
------ ---------------------------------------------------------------------------------------------------------------
142 Call to deprecated method stopPropagation() of class Symfony\Component\EventDispatcher\Event:
since Symfony 4.3, use "Symfony\Contracts\EventDispatcher\Event" instead
------ ---------------------------------------------------------------------------------------------------------------

------ ---------------------------------------------------------------------------------------------------------------
Line /simplesamlphp_auth.info.yml
------ ---------------------------------------------------------------------------------------------------------------
0 Value of core_version_requirement: ^8 || ^9 is not compatible with the next major version of Drupal core. See
https://drupal.org/node/3070687..
------ ---------------------------------------------------------------------------------------------------------------

------ ---------------------------------------------------------------------------------------------------------------
Line /tests/simplesamlphp_auth_test/simplesamlphp_auth_test.info.yml
------ ---------------------------------------------------------------------------------------------------------------
0 Value of core_version_requirement: ^8 || ^9 is not compatible with the next major version of Drupal core. See
https://drupal.org/node/3070687..
------ ---------------------------------------------------------------------------------------------------------------

Comments

Adarshsri786 created an issue. See original summary.

berdir’s picture

Status: Active » Closed (duplicate)

See #3289683: New 4.x branch for Drupal 10 compatibility with SimpleSamlPHP dev-master, there is a not-yet-visible 4.x branch for D10 compatibility.

adarshsri786’s picture

Issue summary: View changes
adarshsri786’s picture

Added Patch for D10 Compatibility.