EduPersonAffliation   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 12
c 1
b 0
f 0
dl 0
loc 14
ccs 0
cts 6
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getAffliations() 0 7 1
1
<?php
2
3
namespace App\Saml;
4
5
/**
6
 * Enumeration for EduPersonAffliation
7
 */
8
class EduPersonAffliation {
9
    public const MEMBER = 'member';
10
    public const STAFF = 'staff';
11
    public const STUDENT = 'student';
12
    public const FACULTY = 'factulty';
13
    public const AFFILIATE = 'affiliate';
14
15
    public static function getAffliations(): array {
16
        return [
17
            static::MEMBER,
18
            static::STUDENT,
19
            static::FACULTY,
20
            static::STAFF,
21
            static::AFFILIATE
22
        ];
23
    }
24
}