Skip to content

Commit 05fb611

Browse files
committed
Revert phpstan.neon changes
1 parent f20634f commit 05fb611

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

phpstan.neon

+12
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,22 @@ parameters:
55
- vendor/*
66
- storage/framework/*
77
ignoreErrors:
8+
- '#@readonly property cannot have a default value\.#'
89
- '#Access to an undefined property object::\$[a-zA-Z_]+\.#'
10+
- '#Anonymous function should return string but returns mixed\.#'
911
- '#Argument of an invalid type mixed supplied for foreach, only iterables are supported\.#'
1012
- '#Binary operation "." between non-falsy-string and mixed results in an error\.#'
1113
- '#Binary operation "\." between ''.+'' and mixed results in an error\.#'
1214
- '#Binary operation "\." between mixed and ''.+'' results in an error\.#'
1315
- '#Cannot access offset ''[A-Za-z_]+'' on mixed\.#'
1416
- '#Cannot access offset 0 on mixed\.#'
17+
- '#Cannot access property \$[a-z_]+ on App\\Models\\User\|null\.#'
1518
- '#Cannot access property \$[a-zA-Z_]+ on mixed\.#'
1619
- '#Cannot call method [a-zA-Z]+\(\) on mixed\.#'
20+
- '#Dynamic call to static method Illuminate\\Http\\Request::validate\(\)\.#'
21+
- '#Method App\\Http\\Controllers\\[a-zA-Z]+::[a-zA-Z]+\(\) has no return type specified\.#'
22+
- '#Method App\\Http\\Middleware\\CasAuthenticate::handle\(\) should return Symfony\\Component\\HttpFoundation\\Response but returns bool\.#'
23+
- '#Method App\\Http\\Middleware\\CasAuthenticate::handle\(\) should return Symfony\\Component\\HttpFoundation\\Response but returns mixed\.#'
1724
- '#Method App\\Jobs\\SyncGoogleGroups::getAllGroups\(\) should return Illuminate\\Support\\Collection<string, string> but returns Illuminate\\Support\\Collection<\(int\|string\), mixed>\.#'
1825
- '#Method App\\Services\\ClickUp::addUser\(\) should return object but returns mixed\.#'
1926
- '#Method App\\Services\\ClickUp::fetchJWT\(\) should return string but returns mixed\.#'
@@ -25,13 +32,18 @@ parameters:
2532
- '#Method App\\Services\\Keycloak::getAccessToken\(\) should return string but returns mixed\.#'
2633
- '#Method App\\Services\\Service::decodeToArray\(\) should return array<object> but returns array<mixed, mixed>\.#'
2734
- '#Offset ''[a-zA-Z]+'' might not exist on array\|null\.#'
35+
- '#Parameter \#1 \$array of function array_diff expects array, mixed given\.#'
36+
- '#Parameter \#1 \$array of function array_filter expects array, mixed given\.#'
37+
- '#Parameter \#1 \$callback of function array_map expects \(callable\(mixed\): mixed\)\|null, Closure\(object\): string given\.#'
2838
- '#Parameter \#1 \$callback of method Illuminate\\Support\\Collection<\(int\|string\),mixed>::each\(\) expects callable\(mixed, int\|string\): mixed, Closure\(object, int\): void given\.#'
2939
- '#Parameter \#1 \$callback of method Illuminate\\Support\\Collection<\(int\|string\),mixed>::filter\(\) expects \(callable\(mixed, int\|string\): bool\)\|null, Closure\(object\): bool given\.#'
3040
- '#Parameter \#1 \$callback of method Illuminate\\Support\\Collection<\(int\|string\),mixed>::mapWithKeys\(\) expects callable\(mixed, int\|string\): array, Closure\(object\): non-empty-array given\.#'
3141
- '#Parameter \#1 \$clickup_id of static method App\\Services\\ClickUp::[a-zA-Z]+\(\) expects int, mixed given\.#'
3242
- '#Parameter \#1 \$config of method Google\\Client::setAuthConfig\(\) expects array\|string, mixed given\.#'
3343
- '#Parameter \#1 \$data of class SimpleJWT\\Keys\\RSAKey constructor expects array<string, mixed>\|string, mixed given\.#'
44+
- '#Parameter \#1 \$email of static method App\\Services\\ClickUp::addUser\(\) expects string, mixed given\.#'
3445
- '#Parameter \#1 \$group_name of static method App\\Services\\Grouper::[a-zA-Z]+\(\) expects string, mixed given\.#'
46+
- '#Parameter \#1 \$haystack of static method Illuminate\\Support\\Str::startsWith\(\) expects string, mixed given\.#'
3547
- '#Parameter \#1 \$invitee_id of static method App\\Services\\GitHub::inviteUserToOrganization\(\) expects int, mixed given\.#'
3648
- '#Parameter \#1 \$json of function json_decode expects string, bool\|string given\.#'
3749
- '#Parameter \#1 \$object_or_class of function property_exists expects object\|string, mixed given\.#'

0 commit comments

Comments
 (0)