Skip to content

Commit

Permalink
[PHPStan] Removed resolved issues from the baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Nov 20, 2024
1 parent 436aa47 commit e90bcb5
Showing 1 changed file with 0 additions and 80 deletions.
80 changes: 0 additions & 80 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -25,46 +25,16 @@ parameters:
count: 1
path: src/bundle/CorsOptions/RestProvider.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Rest\\\\DependencyInjection\\\\Compiler\\\\FieldTypeProcessorPass\\:\\:process\\(\\) has no return type specified\\.$#"
count: 1
path: src/bundle/DependencyInjection/Compiler/FieldTypeProcessorPass.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Rest\\\\DependencyInjection\\\\Compiler\\\\InputHandlerPass\\:\\:process\\(\\) has no return type specified\\.$#"
count: 1
path: src/bundle/DependencyInjection/Compiler/InputHandlerPass.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Rest\\\\DependencyInjection\\\\Compiler\\\\InputParserPass\\:\\:process\\(\\) has no return type specified\\.$#"
count: 1
path: src/bundle/DependencyInjection/Compiler/InputParserPass.php

-
message: "#^Argument of an invalid type array\\|bool\\|float\\|int\\|string\\|null supplied for foreach, only iterables are supported\\.$#"
count: 1
path: src/bundle/DependencyInjection/Compiler/OutputVisitorPass.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Rest\\\\DependencyInjection\\\\Compiler\\\\OutputVisitorPass\\:\\:process\\(\\) has no return type specified\\.$#"
count: 1
path: src/bundle/DependencyInjection/Compiler/OutputVisitorPass.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Rest\\\\DependencyInjection\\\\Compiler\\\\ValueObjectVisitorPass\\:\\:process\\(\\) has no return type specified\\.$#"
count: 1
path: src/bundle/DependencyInjection/Compiler/ValueObjectVisitorPass.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Rest\\\\DependencyInjection\\\\Configuration\\:\\:addRestRootResourcesSection\\(\\) has parameter \\$rootNode with no type specified\\.$#"
count: 1
path: src/bundle/DependencyInjection/Configuration.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Rest\\\\DependencyInjection\\\\IbexaRestExtension\\:\\:prepend\\(\\) has no return type specified\\.$#"
count: 1
path: src/bundle/DependencyInjection/IbexaRestExtension.php

-
message: "#^Method Ibexa\\\\Bundle\\\\Rest\\\\DependencyInjection\\\\IbexaRestExtension\\:\\:prependRouterConfiguration\\(\\) has no return type specified\\.$#"
count: 1
Expand Down Expand Up @@ -420,16 +390,6 @@ parameters:
count: 1
path: src/contracts/Output/Visitor.php

-
message: "#^Offset 0 does not exist on array\\<int, string\\|null\\>\\|string\\|null\\.$#"
count: 1
path: src/contracts/Output/Visitor.php

-
message: "#^Parameter \\#1 \\$key of method Symfony\\\\Component\\\\HttpFoundation\\\\ResponseHeaderBag\\:\\:remove\\(\\) expects string, int\\|string given\\.$#"
count: 1
path: src/contracts/Output/Visitor.php

-
message: "#^Property Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Visitor\\:\\:\\$statusCode \\(int\\) does not accept null\\.$#"
count: 1
Expand Down Expand Up @@ -920,21 +880,6 @@ parameters:
count: 1
path: src/lib/Output/ValueObjectVisitor/ContentObjectStates.php

-
message: "#^Method Ibexa\\\\Rest\\\\Server\\\\Controller\\:\\:setInputDispatcher\\(\\) has no return type specified\\.$#"
count: 1
path: src/lib/Server/Controller.php

-
message: "#^Method Ibexa\\\\Rest\\\\Server\\\\Controller\\:\\:setRepository\\(\\) has no return type specified\\.$#"
count: 1
path: src/lib/Server/Controller.php

-
message: "#^Method Ibexa\\\\Rest\\\\Server\\\\Controller\\:\\:setRouter\\(\\) has no return type specified\\.$#"
count: 1
path: src/lib/Server/Controller.php

-
message: "#^Method Ibexa\\\\Rest\\\\Server\\\\Controller\\\\BinaryContent\\:\\:getImageVariation\\(\\) should return Ibexa\\\\Contracts\\\\Core\\\\Variation\\\\Values\\\\Variation but returns Ibexa\\\\Rest\\\\Server\\\\Values\\\\CachedValue\\.$#"
count: 1
Expand Down Expand Up @@ -965,21 +910,6 @@ parameters:
count: 1
path: src/lib/Server/Controller/Bookmark.php

-
message: "#^Cannot call method get\\(\\) on Symfony\\\\Component\\\\DependencyInjection\\\\ContainerInterface\\|null\\.$#"
count: 2
path: src/lib/Server/Controller/Content.php

-
message: "#^Cannot call method getCurrentRequest\\(\\) on object\\|null\\.$#"
count: 1
path: src/lib/Server/Controller/Content.php

-
message: "#^Cannot call method handle\\(\\) on object\\|null\\.$#"
count: 1
path: src/lib/Server/Controller/Content.php

-
message: "#^Method Ibexa\\\\Rest\\\\Server\\\\Controller\\\\Content\\:\\:loadContent\\(\\) should return Ibexa\\\\Rest\\\\Server\\\\Values\\\\RestContent but returns Ibexa\\\\Rest\\\\Server\\\\Values\\\\CachedValue\\.$#"
count: 1
Expand All @@ -1000,21 +930,11 @@ parameters:
count: 1
path: src/lib/Server/Controller/Content.php

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

-
message: "#^Parameter \\#1 \\$parentLocationId of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\LocationService\\:\\:newLocationCreateStruct\\(\\) expects int, string 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
path: src/lib/Server/Controller/Content.php

-
message: "#^Method Ibexa\\\\Rest\\\\Server\\\\Controller\\\\ContentType\\:\\:addContentTypeDraftFieldDefinition\\(\\) has parameter \\$contentTypeId with no type specified\\.$#"
count: 1
Expand Down

0 comments on commit e90bcb5

Please sign in to comment.