generated from ergebnis/php-package-template
/
psalm-baseline.xml
127 lines (127 loc) · 3.64 KB
/
psalm-baseline.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.20.0@3f284e96c9d9be6fe6b15c79416e1d1903dcfef4">
<file src="app/Exceptions/Handler.php">
<UnusedClosureParam>
<code>$e</code>
</UnusedClosureParam>
</file>
<file src="app/Http/Middleware/ValidateSignature.php">
<PossiblyUnusedProperty>
<code>$except</code>
</PossiblyUnusedProperty>
</file>
<file src="app/Models/User.php">
<NonInvariantDocblockPropertyType>
<code>$casts</code>
<code>$fillable</code>
<code>$hidden</code>
</NonInvariantDocblockPropertyType>
</file>
<file src="app/Providers/AppServiceProvider.php">
<PossiblyUnusedMethod>
<code>boot</code>
</PossiblyUnusedMethod>
</file>
<file src="app/Providers/AuthServiceProvider.php">
<PossiblyUnusedMethod>
<code>boot</code>
</PossiblyUnusedMethod>
</file>
<file src="app/Providers/EventServiceProvider.php">
<NonInvariantDocblockPropertyType>
<code>$listen</code>
</NonInvariantDocblockPropertyType>
</file>
<file src="app/Providers/RouteServiceProvider.php">
<MixedPropertyFetch>
<code><![CDATA[$request->user()?->id]]></code>
</MixedPropertyFetch>
<RiskyTruthyFalsyComparison>
<code><![CDATA[$request->user()?->id]]></code>
</RiskyTruthyFalsyComparison>
</file>
<file src="config/broadcasting.php">
<MixedOperand>
<code><![CDATA[env('PUSHER_APP_CLUSTER', 'mt1')]]></code>
</MixedOperand>
</file>
<file src="config/cache.php">
<MixedArgument>
<code><![CDATA[env('APP_NAME', 'laravel')]]></code>
</MixedArgument>
</file>
<file src="config/database.php">
<MixedArgument>
<code><![CDATA[env('APP_NAME', 'laravel')]]></code>
</MixedArgument>
</file>
<file src="config/filesystems.php">
<MixedOperand>
<code><![CDATA[env('APP_URL')]]></code>
</MixedOperand>
</file>
<file src="config/logging.php">
<MixedOperand>
<code><![CDATA[env('PAPERTRAIL_PORT')]]></code>
<code><![CDATA[env('PAPERTRAIL_URL')]]></code>
</MixedOperand>
</file>
<file src="config/sanctum.php">
<MixedArgument>
<code><![CDATA[env('SANCTUM_STATEFUL_DOMAINS', sprintf(
'%s%s',
'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
Sanctum::currentApplicationUrlWithPort()
))]]></code>
</MixedArgument>
</file>
<file src="config/session.php">
<MixedArgument>
<code><![CDATA[env('APP_NAME', 'laravel')]]></code>
</MixedArgument>
</file>
<file src="database/factories/UserFactory.php">
<PossiblyUnusedMethod>
<code>unverified</code>
</PossiblyUnusedMethod>
<UnusedClosureParam>
<code>$attributes</code>
</UnusedClosureParam>
</file>
<file src="database/seeders/DatabaseSeeder.php">
<UnusedClass>
<code>DatabaseSeeder</code>
</UnusedClass>
</file>
<file src="routes/api.php">
<MissingClosureReturnType>
<code>function (Request $request) {</code>
</MissingClosureReturnType>
</file>
<file src="routes/channels.php">
<MissingClosureParamType>
<code>$id</code>
<code>$user</code>
</MissingClosureParamType>
<MixedPropertyFetch>
<code><![CDATA[$user->id]]></code>
</MixedPropertyFetch>
</file>
<file src="routes/console.php">
<InvalidScope>
<code>$this</code>
</InvalidScope>
</file>
<file src="tests/CreatesApplication.php">
<MixedAssignment>
<code>$app</code>
</MixedAssignment>
<MixedInferredReturnType>
<code>Foundation\Application</code>
</MixedInferredReturnType>
<MixedMethodCall>
<code>bootstrap</code>
<code>make</code>
</MixedMethodCall>
</file>
</files>