Skip to content

Commit 2952983

Browse files
committed
fix: resolve phpstan findings caused by merging main into this branch
1 parent 54a2c6b commit 2952983

File tree

2 files changed

+1
-26
lines changed

2 files changed

+1
-26
lines changed

phpstan-baseline.neon

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -178,28 +178,4 @@ parameters:
178178
message: '#^Trait Picqer\\Financials\\Exact\\Webhook\\Authenticatable is used zero times and is not analysed\.$#'
179179
identifier: trait.unused
180180
count: 1
181-
path: src/Picqer/Financials/Exact/Webhook/Authenticatable.php
182-
183-
-
184-
message: '#^Parameter \$response of method Picqer\\Tests\\ModelTest\:\:createMockHandler\(\) has invalid type Picqer\\Tests\\Support\\GuzzleHttp\\Psr7\\Response\.$#'
185-
identifier: class.notFound
186-
count: 1
187-
path: tests/ModelTest.php
188-
189-
-
190-
message: '#^Parameter \#1 \$response of method Picqer\\Tests\\QueryParamTest\:\:createMockHandler\(\) expects array\|Picqer\\Tests\\Support\\GuzzleHttp\\Psr7\\Response\|string\|null, GuzzleHttp\\Psr7\\Response given\.$#'
191-
identifier: argument.type
192-
count: 1
193-
path: tests/QueryParamTest.php
194-
195-
-
196-
message: '#^Parameter \$response of method Picqer\\Tests\\QueryParamTest\:\:createMockHandler\(\) has invalid type Picqer\\Tests\\Support\\GuzzleHttp\\Psr7\\Response\.$#'
197-
identifier: class.notFound
198-
count: 1
199-
path: tests/QueryParamTest.php
200-
201-
-
202-
message: '#^Parameter \$response of method Picqer\\Tests\\ResultsetTest\:\:createMockHandler\(\) has invalid type Picqer\\Tests\\Support\\GuzzleHttp\\Psr7\\Response\.$#'
203-
identifier: class.notFound
204-
count: 1
205-
path: tests/ResultsetTest.php
181+
path: src/Picqer/Financials/Exact/Webhook/Authenticatable.php

tests/ResultsetTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public function testCanGetNextAsGenerator(): void
3939
[]
4040
))->nextAsGenerator();
4141

42-
$this->assertIsIterable($response);
4342
$this->assertEquals(2, iterator_count($response));
4443
}
4544
}

0 commit comments

Comments
 (0)