Skip to content

Commit

Permalink
Fixed PHPStan baseline for 4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p committed Aug 16, 2023
1 parent c0caebb commit 9ec54d4
Showing 1 changed file with 1 addition and 101 deletions.
102 changes: 1 addition & 101 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -480,21 +480,11 @@ parameters:
count: 1
path: src/contracts/Output/Generator.php

-
message: "#^Method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) has no return type specified\\.$#"
count: 1
path: src/contracts/Output/Generator.php

-
message: "#^Property Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:\\$stack type has no value type specified in iterable type array\\.$#"
count: 1
path: src/contracts/Output/Generator.php

-
message: "#^Method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) invoked with 3 parameters, 2 required\\.$#"
count: 1
path: src/contracts/Output/ValueObjectVisitor.php

-
message: "#^Method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\ValueObjectVisitor\\:\\:setRequestParser\\(\\) has no return type specified\\.$#"
count: 1
Expand Down Expand Up @@ -905,16 +895,6 @@ parameters:
count: 1
path: src/lib/Output/Generator/Json.php

-
message: "#^Method Ibexa\\\\Rest\\\\Output\\\\Generator\\\\Json\\:\\:startValueElement\\(\\) has no return type specified\\.$#"
count: 1
path: src/lib/Output/Generator/Json.php

-
message: "#^Method Ibexa\\\\Rest\\\\Output\\\\Generator\\\\Json\\:\\:startValueElement\\(\\) has parameter \\$attributes with no value type specified in iterable type array\\.$#"
count: 1
path: src/lib/Output/Generator/Json.php

-
message: "#^Parameter \\#1 \\$parent of method Ibexa\\\\Rest\\\\Output\\\\Generator\\\\Json\\\\FieldTypeHashGenerator\\:\\:generateHashValue\\(\\) expects Ibexa\\\\Rest\\\\Output\\\\Generator\\\\Json\\\\ArrayObject\\|Ibexa\\\\Rest\\\\Output\\\\Generator\\\\Json\\\\JsonObject, array given\\.$#"
count: 1
Expand Down Expand Up @@ -1021,12 +1001,7 @@ parameters:
path: src/lib/Output/Generator/Xml.php

-
message: "#^Method Ibexa\\\\Rest\\\\Output\\\\Generator\\\\Xml\\:\\:startValueElement\\(\\) has no return type specified\\.$#"
count: 1
path: src/lib/Output/Generator/Xml.php

-
message: "#^Method Ibexa\\\\Rest\\\\Output\\\\Generator\\\\Xml\\:\\:startValueElement\\(\\) has parameter \\$attributes with no value type specified in iterable type array\\.$#"
message: "#^Parameter \\#1 \\$content of method XMLWriter\\:\\:text\\(\\) expects string, bool\\|float\\|int\\|string\\|null given\\.$#"
count: 1
path: src/lib/Output/Generator/Xml.php

Expand Down Expand Up @@ -2935,11 +2910,6 @@ parameters:
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/BookmarkList.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, int given\\.$#"
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/BookmarkList.php

-
message: "#^Method Ibexa\\\\Rest\\\\Server\\\\Output\\\\ValueObjectVisitor\\\\CachedValue\\:\\:getParameter\\(\\) has no return type specified\\.$#"
count: 1
Expand Down Expand Up @@ -3310,11 +3280,6 @@ parameters:
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/ImageVariation.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, int\\<min, \\-1\\>\\|int\\<1, max\\> given\\.$#"
count: 3
path: src/lib/Server/Output/ValueObjectVisitor/ImageVariation.php

-
message: "#^Method Ibexa\\\\Rest\\\\Server\\\\Output\\\\ValueObjectVisitor\\\\Location\\:\\:visit\\(\\) has no return type specified\\.$#"
count: 1
Expand All @@ -3325,11 +3290,6 @@ parameters:
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/Location.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, int given\\.$#"
count: 4
path: src/lib/Server/Output/ValueObjectVisitor/Location.php

-
message: "#^Parameter \\#5 \\$relations of class Ibexa\\\\Rest\\\\Server\\\\Values\\\\RestContent constructor expects array\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Relation\\>\\|null, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Relation\\> given\\.$#"
count: 1
Expand Down Expand Up @@ -3490,21 +3450,6 @@ parameters:
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/RestExecutedView.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, float given\\.$#"
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/RestExecutedView.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, int given\\.$#"
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/RestExecutedView.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, int\\|null given\\.$#"
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/RestExecutedView.php

-
message: "#^Parameter \\#5 \\$relations of class Ibexa\\\\Rest\\\\Server\\\\Values\\\\RestContent constructor expects array\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Relation\\>\\|null, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Relation\\> given\\.$#"
count: 1
Expand All @@ -3515,21 +3460,11 @@ parameters:
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/RestFieldDefinition.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, int given\\.$#"
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/RestFieldDefinition.php

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

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, int given\\.$#"
count: 4
path: src/lib/Server/Output/ValueObjectVisitor/RestLocation.php

-
message: "#^Access to an undefined property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\ObjectState\\\\ObjectState\\:\\:\\$defaultLanguageCode\\.$#"
count: 1
Expand All @@ -3540,11 +3475,6 @@ parameters:
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/RestObjectState.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, int given\\.$#"
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/RestObjectState.php

-
message: "#^Method Ibexa\\\\Rest\\\\Server\\\\Output\\\\ValueObjectVisitor\\\\RestRelation\\:\\:visit\\(\\) has no return type specified\\.$#"
count: 1
Expand All @@ -3555,11 +3485,6 @@ parameters:
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/RestTrashItem.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, int given\\.$#"
count: 4
path: src/lib/Server/Output/ValueObjectVisitor/RestTrashItem.php

-
message: "#^Access to an undefined property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Content\\:\\:\\$email\\.$#"
count: 1
Expand Down Expand Up @@ -3815,16 +3740,6 @@ parameters:
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/Version.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, int\\|null given\\.$#"
count: 2
path: src/lib/Server/Output/ValueObjectVisitor/Version.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, string\\|null given\\.$#"
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/Version.php

-
message: "#^Access to an undefined property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\VersionInfo\\:\\:\\$names\\.$#"
count: 1
Expand All @@ -3840,11 +3755,6 @@ parameters:
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/VersionInfo.php

-
message: "#^Parameter \\#2 \\$value of method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) expects string, int given\\.$#"
count: 1
path: src/lib/Server/Output/ValueObjectVisitor/VersionInfo.php

-
message: "#^Method Ibexa\\\\Rest\\\\Server\\\\Output\\\\ValueObjectVisitor\\\\VersionList\\:\\:visit\\(\\) has no return type specified\\.$#"
count: 1
Expand Down Expand Up @@ -7595,11 +7505,6 @@ parameters:
count: 1
path: tests/lib/Output/Generator/FieldTypeHashGeneratorBaseTest.php

-
message: "#^Method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) invoked with 3 parameters, 2 required\\.$#"
count: 1
path: tests/lib/Output/Generator/JsonTest.php

-
message: "#^Method Ibexa\\\\Tests\\\\Rest\\\\Output\\\\Generator\\\\JsonTest\\:\\:testGeneratorAttribute\\(\\) has no return type specified\\.$#"
count: 1
Expand Down Expand Up @@ -7690,11 +7595,6 @@ parameters:
count: 1
path: tests/lib/Output/Generator/JsonTest.php

-
message: "#^Method Ibexa\\\\Contracts\\\\Rest\\\\Output\\\\Generator\\:\\:startValueElement\\(\\) invoked with 3 parameters, 2 required\\.$#"
count: 2
path: tests/lib/Output/Generator/XmlTest.php

-
message: "#^Method Ibexa\\\\Tests\\\\Rest\\\\Output\\\\Generator\\\\XmlTest\\:\\:testGeneratorAttribute\\(\\) has no return type specified\\.$#"
count: 1
Expand Down

0 comments on commit 9ec54d4

Please sign in to comment.