Skip to content

Commit 5061ea4

Browse files
Fix phpcs nitpicks
1 parent fab2c2d commit 5061ea4

File tree

4 files changed

+11
-20
lines changed

4 files changed

+11
-20
lines changed

src/Auth/Source/PasswordVerify.php

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,6 @@
44

55
namespace SimpleSAML\Module\sqlauth\Auth\Source;
66

7-
use SimpleSAML\Assert\Assert;
8-
use SimpleSAML\Error;
9-
use SimpleSAML\Logger;
10-
use SimpleSAML\Module\sqlauth\Auth\Source\SQL;
11-
12-
use function array_key_exists;
13-
use function array_keys;
14-
use function count;
15-
use function implode;
16-
use function is_null;
17-
use function password_verify;
18-
use function sprintf;
19-
207
/**
218
* Simple SQL authentication source
229
*
@@ -44,4 +31,6 @@
4431
* @package SimpleSAMLphp
4532
*/
4633

47-
class PasswordVerify extends PasswordVerify1Compat {}
34+
class PasswordVerify extends PasswordVerify1Compat
35+
{
36+
}

src/Auth/Source/PasswordVerify1Compat.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ class PasswordVerify1Compat extends SQL2
2323
public function __construct(array $info, array $config)
2424
{
2525
Logger::warning(
26-
'The sqlauth:PasswordVerify and sqlauth:PasswordVerify1Compat authentication sources are deprecated. '.
27-
'Please migrate to sqlauth:SQL2 with the new configuration format.'
28-
);
26+
'The sqlauth:PasswordVerify and sqlauth:PasswordVerify1Compat authentication sources are deprecated. ' .
27+
'Please migrate to sqlauth:SQL2 with the new configuration format.',
28+
);
2929

3030
/* Transform PasswordVerify (version 1) config to SQL2 config
3131
* Version 1 supported only one database, but multiple queries. The first query was defined

src/Auth/Source/SQL.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,6 @@
1010
* @package SimpleSAMLphp
1111
*/
1212

13-
class SQL extends SQL1Compat {}
13+
class SQL extends SQL1Compat
14+
{
15+
}

src/Auth/Source/SQL1Compat.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class SQL1Compat extends SQL2
2323
public function __construct(array $info, array $config)
2424
{
2525
Logger::warning(
26-
'The sqlauth:SQL and sqlauth:SQL1Compat authentication sources are deprecated. '.
27-
'Please migrate to sqlauth:SQL2 with the new configuration format.'
26+
'The sqlauth:SQL and sqlauth:SQL1Compat authentication sources are deprecated. ' .
27+
'Please migrate to sqlauth:SQL2 with the new configuration format.',
2828
);
2929

3030
/* Transform SQL (version 1) config to SQL2 config

0 commit comments

Comments
 (0)