diff --git a/src/Auth/Process/ExpiryWarning.php b/src/Auth/Process/ExpiryWarning.php index ee11416..5c7248a 100644 --- a/src/Auth/Process/ExpiryWarning.php +++ b/src/Auth/Process/ExpiryWarning.php @@ -45,7 +45,7 @@ public function __construct(array $config, $reserved) if (array_key_exists('warndaysbefore', $config)) { Assert::integerish( $config['warndaysbefore'], - 'Invalid value for \'warndaysbefore\'-option to authX509::ExpiryWarning filter.' + 'Invalid value for \'warndaysbefore\'-option to authX509::ExpiryWarning filter.', ); $this->warndaysbefore = (int)$config['warndaysbefore']; } @@ -54,7 +54,7 @@ public function __construct(array $config, $reserved) $this->renewurl = $config['renewurl']; Assert::string( $this->renewurl, - 'Invalid value for \'renewurl\'-option to authX509::ExpiryWarning filter.' + 'Invalid value for \'renewurl\'-option to authX509::ExpiryWarning filter.', ); } } diff --git a/src/Auth/Source/X509userCert.php b/src/Auth/Source/X509userCert.php index 3d96387..02833dc 100644 --- a/src/Auth/Source/X509userCert.php +++ b/src/Auth/Source/X509userCert.php @@ -94,7 +94,7 @@ public function __construct(array $info, array &$config) // Verify that the authsource config exists if (!$authSources->hasValue($this->backend)) { throw new Error\Exception( - sprintf('Authsource [%s] not found in authsources.php', $this->backend) + sprintf('Authsource [%s] not found in authsources.php', $this->backend), ); } diff --git a/src/Controller/ExpiryWarning.php b/src/Controller/ExpiryWarning.php index cb7fc56..7630fd9 100644 --- a/src/Controller/ExpiryWarning.php +++ b/src/Controller/ExpiryWarning.php @@ -43,7 +43,7 @@ class ExpiryWarning */ public function __construct( protected Configuration $config, - protected Session $session + protected Session $session, ) { } diff --git a/tests/src/Controller/AuthX509Test.php b/tests/src/Controller/AuthX509Test.php index 2d6db3e..5688d31 100644 --- a/tests/src/Controller/AuthX509Test.php +++ b/tests/src/Controller/AuthX509Test.php @@ -39,7 +39,7 @@ protected function setUp(): void 'module.enable' => ['authx509' => true], ], '[ARRAY]', - 'simplesaml' + 'simplesaml', ); $this->session = Session::getSessionFromRequest(); @@ -53,7 +53,7 @@ public function testNoStateId(): void { $request = Request::create( '/expiryWarning', - 'GET' + 'GET', ); $c = new Controller\ExpiryWarning($this->config, $this->session); @@ -73,7 +73,7 @@ public function testNoState(): void $request = Request::create( '/expiryWarning', 'GET', - ['StateId' => 'SomeStateId'] + ['StateId' => 'SomeStateId'], ); $c = new Controller\ExpiryWarning($this->config, $this->session); @@ -99,7 +99,7 @@ public function testProceed(): void $request = Request::create( '/expiryWarning', 'GET', - ['StateId' => 'SomeStateId', 'proceed' => 'pleaseProceed'] + ['StateId' => 'SomeStateId', 'proceed' => 'pleaseProceed'], ); $c = new Controller\ExpiryWarning($this->config, $this->session); @@ -126,7 +126,7 @@ public function testNotProceed(): void $request = Request::create( '/expiryWarning', 'GET', - ['StateId' => 'SomeStateId', 'proceed'] + ['StateId' => 'SomeStateId', 'proceed'], ); $c = new Controller\ExpiryWarning($this->config, $this->session);