Skip to content

Commit 3db35a1

Browse files
committed
Fix CI
1 parent 4704520 commit 3db35a1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/php.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
unit-tests-linux:
4141
name: "Unit tests, PHP ${{ matrix.php-versions }}, ${{ matrix.operating-system }}"
4242
runs-on: ${{ matrix.operating-system }}
43-
needs: [phplinter, linter, quality, security]
43+
needs: [phplinter, linter]
4444
strategy:
4545
fail-fast: false
4646
matrix:
@@ -151,6 +151,7 @@ jobs:
151151

152152
quality:
153153
name: Quality control
154+
needs: [unit-tests-linux]
154155
runs-on: [ubuntu-latest]
155156

156157
steps:
@@ -204,7 +205,9 @@ jobs:
204205
205206
security:
206207
name: Security checks
208+
needs: [unit-tests-linux]
207209
runs-on: [ubuntu-latest]
210+
208211
steps:
209212
- name: Setup PHP, with composer and extensions
210213
# https://github.com/shivammathur/setup-php

src/Auth/Source/Radius.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use SimpleSAML\Module\core\Auth\UserPassBase;
1313
use SimpleSAML\Utils;
1414

15-
use function array_key_exists;
1615
use function array_merge;
1716
use function sprintf;
1817
use function strtok;
@@ -28,9 +27,12 @@
2827
class Radius extends UserPassBase
2928
{
3029
public const RADIUS_USERNAME = 1;
30+
3131
public const RADIUS_VENDOR_SPECIFIC = 26;
32+
3233
public const RADIUS_NAS_IDENTIFIER = 32;
3334

35+
3436
/**
3537
* @var array<mixed> The list of radius servers to use.
3638
*/

0 commit comments

Comments
 (0)