Skip to content

Commit a9b4ca3

Browse files
committed
Add trailing commas
1 parent e0e579c commit a9b4ca3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Auth/Source/CAS.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private function casServiceValidate(string $ticket, string $service): array
143143
[
144144
'ticket' => $ticket,
145145
'service' => $service,
146-
]
146+
],
147147
);
148148
$result = $httpUtils->fetch($url);
149149

@@ -213,7 +213,7 @@ public function finalStep(array &$state): void
213213

214214
$config = Configuration::loadFromArray(
215215
$this->ldapConfig,
216-
'Authentication source ' . var_export($this->authId, true)
216+
'Authentication source ' . var_export($this->authId, true),
217217
);
218218
if (!empty($this->ldapConfig['servers'])) {
219219
$ldap = new Ldap(
@@ -222,7 +222,7 @@ public function finalStep(array &$state): void
222222
$config->getOptionalBoolean('debug', false),
223223
$config->getOptionalInteger('timeout', 0),
224224
$config->getOptionalInteger('port', 389),
225-
$config->getOptionalBoolean('referrals', true)
225+
$config->getOptionalBoolean('referrals', true),
226226
);
227227
$ldapattributes = $ldap->validate($this->ldapConfig, $username);
228228
if ($ldapattributes === false) {

src/Controller/CAS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class CAS
4545
* @throws \Exception
4646
*/
4747
public function __construct(
48-
protected Configuration $config
48+
protected Configuration $config,
4949
) {
5050
}
5151

tests/src/Controller/CASTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected function setUp(): void
4343
],
4444
],
4545
'[ARRAY]',
46-
'simplesaml'
46+
'simplesaml',
4747
);
4848
Configuration::setPreLoadedConfig($this->config, 'config.php');
4949

@@ -68,7 +68,7 @@ public function testNoStateId(): void
6868
{
6969
$request = Request::create(
7070
'/linkback',
71-
'GET'
71+
'GET',
7272
);
7373

7474
$c = new Controller\CAS($this->config);

0 commit comments

Comments
 (0)