Skip to content

Commit

Permalink
Updated phpstan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwojs committed Feb 4, 2025
1 parent 7107c15 commit c3af307
Showing 1 changed file with 9 additions and 19 deletions.
28 changes: 9 additions & 19 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ parameters:
count: 1
path: src/bundle/Initializer/BehatSiteAccessInitializer.php

-
message: "#^Call to an undefined method Behat\\\\Gherkin\\\\Node\\\\ScenarioLikeInterface\\:\\:hasTag\\(\\)\\.$#"
count: 1
path: src/bundle/Subscriber/StartScenarioSubscriber.php

-
message: "#^Cannot call method isStarted\\(\\) on object\\|null\\.$#"
count: 1
Expand Down Expand Up @@ -901,12 +906,7 @@ parameters:
path: src/lib/API/Facade/RoleFacade.php

-
message: "#^Access to an undefined property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\ValueObject\\:\\:\\$contentInfo\\.$#"
count: 2
path: src/lib/API/Facade/SearchFacade.php

-
message: "#^Argument of an invalid type array\\<int, int\\|string\\>\\|int\\|string supplied for foreach, only iterables are supported\\.$#"
message: "#^Argument of an invalid type array\\<int, int\\>\\|int supplied for foreach, only iterables are supported\\.$#"
count: 1
path: src/lib/API/Facade/SearchFacade.php

Expand All @@ -920,18 +920,13 @@ parameters:
count: 1
path: src/lib/API/Facade/SearchFacade.php

-
message: "#^Parameter \\#1 \\$location of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\URLAliasService\\:\\:reverseLookup\\(\\) expects Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\ValueObject given\\.$#"
count: 1
path: src/lib/API/Facade/SearchFacade.php

-
message: "#^Parameter \\#1 \\$min \\(0\\) of function random_int expects lower number than parameter \\#2 \\$max \\(int\\<\\-1, max\\>\\)\\.$#"
count: 1
path: src/lib/API/Facade/SearchFacade.php

-
message: "#^Possibly invalid array key type array\\<int, int\\|string\\>\\|int\\|string\\.$#"
message: "#^Possibly invalid array key type array\\<int, int\\>\\|int\\.$#"
count: 1
path: src/lib/API/Facade/SearchFacade.php

Expand All @@ -940,11 +935,6 @@ parameters:
count: 1
path: src/lib/API/Facade/TrashFacade.php

-
message: "#^Access to an undefined property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\ValueObject\\:\\:\\$contentInfo\\.$#"
count: 1
path: src/lib/API/Facade/UserFacade.php

-
message: "#^Method Ibexa\\\\Behat\\\\API\\\\Facade\\\\UserFacade\\:\\:assignUserGroupToRole\\(\\) has no return type specified\\.$#"
count: 1
Expand Down Expand Up @@ -2161,12 +2151,12 @@ parameters:
path: src/lib/Core/Log/Failure/AnalysisResult.php

-
message: "#^Cannot call method getMessage\\(\\) on Exception\\|null\\.$#"
message: "#^Cannot call method getMessage\\(\\) on Throwable\\|null\\.$#"
count: 1
path: src/lib/Core/Log/Failure/TestFailureData.php

-
message: "#^Cannot call method getTraceAsString\\(\\) on Exception\\|null\\.$#"
message: "#^Cannot call method getTraceAsString\\(\\) on Throwable\\|null\\.$#"
count: 1
path: src/lib/Core/Log/Failure/TestFailureData.php

Expand Down

0 comments on commit c3af307

Please sign in to comment.