Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerated PHPStan baseline files #136

Merged
merged 1 commit into from
Oct 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion phpstan-baseline-7.4.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ parameters:

-
message: "#^Parameter \\#2 \\$str of function explode expects string, string\\|null given\\.$#"
count: 1
count: 4
path: src/lib/Server/Controller/Content.php

-
Expand Down
2 changes: 1 addition & 1 deletion phpstan-baseline-8.0.neon
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ parameters:

-
message: "#^Parameter \\#2 \\$string of function explode expects string, string\\|null given\\.$#"
count: 1
count: 4
path: src/lib/Server/Controller/Content.php

-
Expand Down
55 changes: 50 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,11 @@ parameters:
count: 1
path: src/lib/RequestParser/Pattern.php

-
message: "#^Offset 2 does not exist on array\\{0\\: string, 1\\?\\: non\\-empty\\-string, 2\\?\\: non\\-empty\\-string\\}\\.$#"
count: 1
path: src/lib/RequestParser/Pattern.php

-
message: "#^PHPDoc tag @param references unknown parameter\\: \\$type$#"
count: 1
Expand Down Expand Up @@ -1195,6 +1200,11 @@ parameters:
count: 1
path: src/lib/Server/Controller/Content.php

-
message: "#^Parameter \\#1 \\$remoteId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\ContentService\\:\\:loadContentInfoByRemoteId\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/lib/Server/Controller/Content.php

-
message: "#^Parameter \\#1 \\$versions of class Ibexa\\\\Rest\\\\Server\\\\Values\\\\VersionList constructor expects array\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\VersionInfo\\>, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\VersionInfo\\> given\\.$#"
count: 1
Expand Down Expand Up @@ -1365,6 +1375,11 @@ parameters:
count: 1
path: src/lib/Server/Controller/ContentType.php

-
message: "#^Parameter \\#1 \\$contentTypeGroupIdentifier of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\ContentTypeService\\:\\:loadContentTypeGroupByIdentifier\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/lib/Server/Controller/ContentType.php

-
message: "#^Parameter \\#1 \\$contentTypeGroups of class Ibexa\\\\Rest\\\\Server\\\\Values\\\\ContentTypeGroupList constructor expects array\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\ContentType\\\\ContentTypeGroup\\>, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\ContentType\\\\ContentTypeGroup\\> given\\.$#"
count: 1
Expand Down Expand Up @@ -1415,6 +1430,11 @@ parameters:
count: 1
path: src/lib/Server/Controller/ContentType.php

-
message: "#^Parameter \\#2 \\$orderby of method Ibexa\\\\Rest\\\\Server\\\\Controller\\\\ContentType\\:\\:sortContentTypeList\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/lib/Server/Controller/ContentType.php

-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
Expand Down Expand Up @@ -1446,12 +1466,17 @@ parameters:
path: src/lib/Server/Controller/Location.php

-
message: "#^Parameter \\#1 \\$locationId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\LocationService\\:\\:loadLocation\\(\\) expects int, string given\\.$#"
message: "#^Parameter \\#1 \\$locationId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\LocationService\\:\\:loadLocation\\(\\) expects int, string\\|null given\\.$#"
count: 1
path: src/lib/Server/Controller/Location.php

-
message: "#^Parameter \\#1 \\$remoteId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\LocationService\\:\\:loadLocationByRemoteId\\(\\) expects string, string\\|null given\\.$#"
count: 2
path: src/lib/Server/Controller/Location.php

-
message: "#^Parameter \\#1 \\$url of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\URLAliasService\\:\\:lookup\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/lib/Server/Controller/Location.php

Expand Down Expand Up @@ -1545,6 +1570,11 @@ parameters:
count: 1
path: src/lib/Server/Controller/Role.php

-
message: "#^Left side of && is always true\\.$#"
count: 1
path: src/lib/Server/Controller/Role.php

-
message: "#^Method Ibexa\\\\Rest\\\\Server\\\\Controller\\\\Role\\:\\:assignRoleToUser\\(\\) has parameter \\$userId with no type specified\\.$#"
count: 1
Expand Down Expand Up @@ -1655,6 +1685,11 @@ parameters:
count: 1
path: src/lib/Server/Controller/Role.php

-
message: "#^Parameter \\#1 \\$identifier of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\RoleService\\:\\:loadRoleByIdentifier\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/lib/Server/Controller/Role.php

-
message: "#^Parameter \\#1 \\$locationId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\LocationService\\:\\:loadLocation\\(\\) expects int, string given\\.$#"
count: 4
Expand Down Expand Up @@ -2031,12 +2066,17 @@ parameters:
path: src/lib/Server/Controller/User.php

-
message: "#^Parameter \\#1 \\$href of method Ibexa\\\\Rest\\\\RequestParser\\:\\:parseHref\\(\\) expects string, string\\|null given\\.$#"
message: "#^Parameter \\#1 \\$email of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\UserService\\:\\:loadUsersByEmail\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/lib/Server/Controller/User.php

-
message: "#^Parameter \\#1 \\$id of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\UserService\\:\\:loadUserGroup\\(\\) expects int, string given\\.$#"
message: "#^Parameter \\#1 \\$href of method Ibexa\\\\Rest\\\\RequestParser\\:\\:parseHref\\(\\) expects string, string\\|null given\\.$#"
count: 2
path: src/lib/Server/Controller/User.php

-
message: "#^Parameter \\#1 \\$id of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\UserService\\:\\:loadUserGroup\\(\\) expects int, string\\|null given\\.$#"
count: 1
path: src/lib/Server/Controller/User.php

Expand All @@ -2050,6 +2090,11 @@ parameters:
count: 1
path: src/lib/Server/Controller/User.php

-
message: "#^Parameter \\#1 \\$login of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\UserService\\:\\:loadUserByLogin\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/lib/Server/Controller/User.php

-
message: "#^Parameter \\#1 \\$message of function trigger_error expects string, int given\\.$#"
count: 4
Expand All @@ -2062,7 +2107,7 @@ parameters:

-
message: "#^Parameter \\#1 \\$remoteId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\ContentService\\:\\:loadContentInfoByRemoteId\\(\\) expects string, string\\|null given\\.$#"
count: 1
count: 2
path: src/lib/Server/Controller/User.php

-
Expand Down Expand Up @@ -2317,7 +2362,7 @@ parameters:

-
message: "#^Possibly invalid array key type \\(array\\<int, string\\>\\|string\\)\\.$#"
count: 2
count: 1
path: src/lib/Server/Input/Parser/Criterion.php

-
Expand Down
Loading