Skip to content

Commit

Permalink
Refresh PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
mbabker committed Aug 13, 2024
1 parent e90707e commit b4a33ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 22 deletions.
20 changes: 0 additions & 20 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ parameters:
count: 2
path: lib/Adapter/Doctrine/MongoDBODM/Tests/AggregationAdapterTest.php

-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with ArrayIterator\\<\\*NEVER\\*, \\*NEVER\\*\\> and iterable will always evaluate to false\\.$#"
count: 1
path: lib/Adapter/Doctrine/MongoDBODM/Tests/QueryAdapterTest.php

-
message: "#^PHPDoc tag @var for variable \\$query contains unresolvable type\\.$#"
count: 2
Expand All @@ -80,11 +75,6 @@ parameters:
count: 1
path: lib/Adapter/Doctrine/PHPCRODM/QueryAdapter.php

-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with ArrayIterator\\<\\*NEVER\\*, \\*NEVER\\*\\> and iterable will always evaluate to false\\.$#"
count: 1
path: lib/Adapter/Doctrine/PHPCRODM/Tests/QueryAdapterTest.php

-
message: "#^Method Pagerfanta\\\\Elastica\\\\ElasticaAdapter\\:\\:getNbResults\\(\\) should return int\\<0, max\\> but returns int\\.$#"
count: 2
Expand Down Expand Up @@ -120,21 +110,11 @@ parameters:
count: 1
path: lib/Core/Tests/Adapter/ArrayAdapterTest.php

-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with ArrayObject\\<\\*NEVER\\*, \\*NEVER\\*\\> and iterable will always evaluate to false\\.$#"
count: 1
path: lib/Core/Tests/Adapter/CallbackAdapterTest.php

-
message: "#^Property Pagerfanta\\\\Tests\\\\Adapter\\\\TransformingAdapterTest\\:\\:\\$adapter \\(Pagerfanta\\\\Adapter\\\\TransformingAdapter\\<int\\<1, 100\\>, string\\>\\) does not accept Pagerfanta\\\\Adapter\\\\TransformingAdapter\\<int, string\\>\\.$#"
count: 2
path: lib/Core/Tests/Adapter/TransformingAdapterTest.php

-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertSame\\(\\) with ArrayObject\\<\\*NEVER\\*, \\*NEVER\\*\\> and iterable will always evaluate to false\\.$#"
count: 2
path: lib/Core/Tests/PagerfantaTest.php

-
message: "#^Method Pagerfanta\\\\View\\\\View\\:\\:calculateEndPageForStartPageUnderflow\\(\\) should return int\\<1, max\\> but returns int\\.$#"
count: 1
Expand Down
4 changes: 2 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ parameters:
- %currentWorkingDirectory%/lib
treatPhpDocTypesAsCertain: false
ignoreErrors:
-
identifier: missingType.iterableValue
-
identifier: missingType.iterableValue

0 comments on commit b4a33ad

Please sign in to comment.