Skip to content

Commit 35208e4

Browse files
chore: make more targeted phpstan ignores
1 parent d8d2163 commit 35208e4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/Services/CasGeneratorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testGenerateCas(): void
4040
toDate: '2023-12-31',
4141
);
4242

43-
$this->assertTrue(true); // @phpstan-ignore-line
43+
$this->assertTrue(true); // @phpstan-ignore method.alreadyNarrowedType
4444
}
4545

4646
#[Test]
@@ -57,6 +57,6 @@ public function testGenerateCasWithOptionalParams(): void
5757
toDate: '2023-12-31',
5858
);
5959

60-
$this->assertTrue(true); // @phpstan-ignore-line
60+
$this->assertTrue(true); // @phpstan-ignore method.alreadyNarrowedType
6161
}
6262
}

tests/Services/CasParserTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function testCamsKfintech(): void
3535

3636
$result = $this->client->casParser->camsKfintech();
3737

38-
$this->assertTrue(true); // @phpstan-ignore-line
38+
$this->assertTrue(true); // @phpstan-ignore method.alreadyNarrowedType
3939
}
4040

4141
#[Test]
@@ -47,7 +47,7 @@ public function testCdsl(): void
4747

4848
$result = $this->client->casParser->cdsl();
4949

50-
$this->assertTrue(true); // @phpstan-ignore-line
50+
$this->assertTrue(true); // @phpstan-ignore method.alreadyNarrowedType
5151
}
5252

5353
#[Test]
@@ -59,7 +59,7 @@ public function testNsdl(): void
5959

6060
$result = $this->client->casParser->nsdl();
6161

62-
$this->assertTrue(true); // @phpstan-ignore-line
62+
$this->assertTrue(true); // @phpstan-ignore method.alreadyNarrowedType
6363
}
6464

6565
#[Test]
@@ -71,6 +71,6 @@ public function testSmartParse(): void
7171

7272
$result = $this->client->casParser->smartParse();
7373

74-
$this->assertTrue(true); // @phpstan-ignore-line
74+
$this->assertTrue(true); // @phpstan-ignore method.alreadyNarrowedType
7575
}
7676
}

0 commit comments

Comments
 (0)