-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm-ignore.xml
106 lines (106 loc) · 4.3 KB
/
psalm-ignore.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.30.0@d0bc6e25d89f649e4f36a534f330f8bb4643dd69">
<file src="app/Exceptions/Handler.php">
<ForbiddenCode occurrences="1">
<code>shell_exec('git rev-parse --verify HEAD')</code>
</ForbiddenCode>
<InvalidDocblock occurrences="1">
<code>public function render($request, Throwable $e)</code>
</InvalidDocblock>
</file>
<file src="app/Helpers/LdapHelper.php">
<InvalidReturnStatement occurrences="1">
<code>$user</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>User</code>
</InvalidReturnType>
</file>
<file src="app/Http/Controllers/ProfilesController.php">
<TypeDoesNotContainType occurrences="2">
<code>$existing_profile</code>
<code>$existing_profile</code>
</TypeDoesNotContainType>
<UndefinedMagicMethod occurrences="1">
<code>inRandomOrder</code>
</UndefinedMagicMethod>
</file>
<file src="app/Http/Livewire/ProfileStudents.php">
<UndefinedThisPropertyAssignment occurrences="1">
<code>$this->students</code>
</UndefinedThisPropertyAssignment>
</file>
<file src="app/Http/Livewire/StudentFeedback.php">
<TypeDoesNotContainType occurrences="1">
<code>auth()->user()->id</code>
</TypeDoesNotContainType>
</file>
<file src="app/Http/Middleware/AuthorizeCreateProfile.php">
<UndefinedInterfaceMethod occurrences="2">
<code>authenticate</code>
<code>user</code>
</UndefinedInterfaceMethod>
</file>
<file src="app/Ldap/Handlers/LdapAttributeHandler.php">
<UndefinedMagicMethod occurrences="1">
<code>exists</code>
</UndefinedMagicMethod>
</file>
<file src="app/Student.php">
<InvalidReturnStatement occurrences="3">
<code>$this->hasMany(StudentFeedback::class)->where('type', 'feedback')</code>
<code>$this->hasOne(StudentData::class)->where('type', 'research_profile')</code>
<code>$this->hasOne(StudentData::class)->where('type', 'stats')</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="3">
<code>\Illuminate\Database\Eloquent\Relations\HasMany</code>
<code>\Illuminate\Database\Eloquent\Relations\HasOne</code>
<code>\Illuminate\Database\Eloquent\Relations\HasOne</code>
</InvalidReturnType>
</file>
<file src="app/User.php">
<InvalidReturnStatement occurrences="5">
<code>$this->currentDelegates()->where('gets_reminders', '=', true)</code>
<code>$this->currentDelegators()->where('gets_reminders', '=', true)</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="5">
<code>\Illuminate\Database\Eloquent\Relations\BelongsToMany</code>
<code>\Illuminate\Database\Eloquent\Relations\BelongsToMany</code>
<code>\Illuminate\Database\Eloquent\Relations\BelongsToMany</code>
<code>\Illuminate\Database\Eloquent\Relations\BelongsToMany</code>
<code>\Illuminate\Database\Query\Builder</code>
</InvalidReturnType>
</file>
<file src="app/Http/Controllers/ProfilesController.php">
<InvalidStaticInvocation occurrences="4">
<code>Profile::containing($search)</code>
<code>Profile::taggedWith($search)</code>
<code>Profile::public()</code>
<code>Profile::public()</code>
</InvalidStaticInvocation>
<TypeDoesNotContainType occurrences="2">
<code>$existing_profile</code>
<code>$existing_profile</code>
</TypeDoesNotContainType>
</file>
<file src="app/Http/Controllers/SchoolsController.php">
<InvalidStaticInvocation occurrences="1">
<code>Profile::fromSchoolId($school->id)</code>
</InvalidStaticInvocation>
</file>
<file src="app/Console/Commands/NotifyProfilesAboutStudents.php">
<InvalidStaticInvocation occurrences="1">
<code>Profile::StudentsPendingReviewWithSemester($semester)</code>
</InvalidStaticInvocation>
</file>
<file src="app/Http/Controllers/Testing/TestingController.php">
<InvalidStaticInvocation occurrences="1">
<code>Profile::EagerStudentsPendingReviewWithSemester($semester)</code>
</InvalidStaticInvocation>
</file>
<file src="app/Http/Controllers/ProfilesApiController.php">
<UndefinedMagicMethod occurrences="1">
<code>Profile::select(Profile::apiAttributes())</code>
</UndefinedMagicMethod>
</file>
</files>