-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathphpstan_final_2.txt
More file actions
49 lines (45 loc) · 2.98 KB
/
phpstan_final_2.txt
File metadata and controls
49 lines (45 loc) · 2.98 KB
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
Note: Using configuration file F:\laragon\www\Intent-Framework\phpstan.neon.
------ ----------------------------------------------------------
Line Core\OAuth.php
------ ----------------------------------------------------------
:171 Cannot cast mixed to string.
🪪 cast.string
:214 Method Core\OAuth::normalizeUser() should return
array{id: string, email: string|null, name: string|null,
avatar: string|null, provider: string, raw: array<string
, mixed>} but returns array{id: string, email: string|nu
ll, name: mixed, avatar: mixed, provider: string, raw:
array<string, mixed>}.
🪪 return.type
💡 Offset 'name' (string|null) does not accept type
mixed.
💡 Offset 'avatar' (string|null) does not accept type
mixed.
------ ----------------------------------------------------------
------ ------------------------------------------------------
Line Core\QueryBuilder.php
------ ------------------------------------------------------
:450 PHPDoc tag @return with type int|string|false is not
subtype of native type bool|string.
🪪 return.phpDocType
:752 Cannot cast mixed to string.
🪪 cast.string
------ ------------------------------------------------------
-- --------------------------------------------------------------
Error
-- --------------------------------------------------------------
Ignored error pattern #^Call to an undefined static method
Core\\(DB|Route|Auth|Request|Response|Session|Config|Validat
or|Cache|Log|Upload|Paginator|Migration|Event|RateLimiter|Se
curityHeaders|OAuth|Registry)::.*\(\)\.$# was not matched in
reported errors.
Ignored error pattern #^Access to an undefined property
Core\\(DB|Route|Auth|Request|Response|Session|Config|Validat
or|Cache|Log)::.*\.$# was not matched in reported errors.
Ignored error pattern #^Call to an undefined method
Core\\QueryBuilder::.*\(\)\.$# was not matched in reported
errors.
Ignored error pattern #^Call to an undefined method
Core\\Query::.*\(\)\.$# was not matched in reported errors.
-- --------------------------------------------------------------
[ERROR] Found 8 errors