diff --git a/src/Controller/LoginController.php b/src/Controller/LoginController.php index eed165a7b6534e309e5734baf4321c6f6d1d0670..658837f1e7415f4ab2b94b8de0e5991271710ae0 100644 --- a/src/Controller/LoginController.php +++ b/src/Controller/LoginController.php @@ -10,8 +10,8 @@ use Drupal\Core\Access\AccessResult; use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Controller\ControllerBase; use Drupal\Core\Link; -use Drupal\Core\Url; use Drupal\Core\Session\AccountInterface; +use Drupal\Core\Url; use Drupal\ldap_authentication\Controller\LoginValidatorSso; use Drupal\ldap_servers\Logger\LdapDetailLog; use Drupal\ldap_sso\RedirectResponseWithCookie; diff --git a/src/Form/LdapSsoAdminForm.php b/src/Form/LdapSsoAdminForm.php index 3476a32ad8ba83ee2f4524145c4b504d2bf3e616..7455b1935dcab629fc92e5c29287e1744cfb78d0 100644 --- a/src/Form/LdapSsoAdminForm.php +++ b/src/Form/LdapSsoAdminForm.php @@ -6,8 +6,8 @@ namespace Drupal\ldap_sso\Form; use Drupal\Core\Config\ConfigFactoryInterface; use Drupal\Core\Entity\EntityTypeManagerInterface; -use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Form\ConfigFormBase; +use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Url; use Drupal\ldap_authentication\Form\LdapAuthenticationAdminForm; use Symfony\Component\DependencyInjection\ContainerInterface; diff --git a/src/LdapSsoBootSubscriber.php b/src/LdapSsoBootSubscriber.php index d10200543dbc2b1a8567cf9c3c26f9d6ed622d91..dbfa8ec1becb20e01f1ea2d34b49c7b980bce37c 100644 --- a/src/LdapSsoBootSubscriber.php +++ b/src/LdapSsoBootSubscriber.php @@ -5,16 +5,16 @@ declare(strict_types = 1); namespace Drupal\ldap_sso; use Drupal\Core\Config\ConfigFactory; -use Drupal\Core\Routing\RedirectDestinationInterface; use Drupal\Core\Path\CurrentPathStack; -use Drupal\Core\Url; +use Drupal\Core\Routing\RedirectDestinationInterface; use Drupal\Core\Session\AccountInterface; +use Drupal\Core\Url; use Drupal\ldap_servers\Logger\LdapDetailLog; -use Symfony\Component\HttpFoundation\RequestStack; -use Symfony\Component\HttpKernel\KernelEvents; -use Symfony\Component\HttpKernel\Event\RequestEvent; use Symfony\Component\EventDispatcher\EventSubscriberInterface; use Symfony\Component\HttpFoundation\Cookie; +use Symfony\Component\HttpFoundation\RequestStack; +use Symfony\Component\HttpKernel\Event\RequestEvent; +use Symfony\Component\HttpKernel\KernelEvents; /** * Provides the automated single sign-on provider. diff --git a/tests/src/Functional/LdapSsoBrowserTest.php b/tests/src/Functional/LdapSsoBrowserTest.php index 0cc051a71f8ae582f7d2f3de391994413d45ba23..e508bf6986994c06611aa060c31d7077593d03d0 100644 --- a/tests/src/Functional/LdapSsoBrowserTest.php +++ b/tests/src/Functional/LdapSsoBrowserTest.php @@ -41,6 +41,8 @@ class LdapSsoBrowserTest extends BrowserTestBase { ]; /** + * The node with an alias. + * * @var \Drupal\node\NodeInterface */ protected $nodeWithAlias;