Skip to content

Commit e431919

Browse files
authored
Merge pull request #33 from o0h/dependabot/composer/phpstan/phpstan-phpunit-2.0.0
Bump phpstan/phpstan-phpunit from 1.4.0 to 2.0.0
2 parents c359207 + 49a3593 commit e431919

File tree

3 files changed

+17
-21
lines changed

3 files changed

+17
-21
lines changed

composer.lock

Lines changed: 16 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Differ/DiffCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public function getPhpDiffs(bool $includeNonAstChanged = true): array
8080
/**
8181
* Get the non-PHP diffs.
8282
*
83-
* @return array<Diff> the array of non-PHP diffs
83+
* @return list<Diff> the array of non-PHP diffs
8484
*/
8585
public function getNonPhpDiffs(): array
8686
{

tests/unit/Differ/DiffFactoryTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use O0h\PhpAstCheckDiff\Differ\DiffFactory;
88
use O0h\PhpAstCheckDiff\Differ\Port\AstHasherInterface;
99
use O0h\PhpAstCheckDiff\Differ\Port\GitInterface;
10-
use O0h\PhpAstCheckDiff\Value\Diff;
1110
use O0h\PhpAstCheckDiff\Value\GitStatus;
1211
use PHPUnit\Framework\Attributes\CoversClass;
1312
use PHPUnit\Framework\Attributes\DataProvider;
@@ -28,7 +27,6 @@ public function testCreateForNonPhp(): void
2827

2928
$diff = $subject->createForNonPhp($path, $status);
3029

31-
$this->assertInstanceOf(Diff::class, $diff);
3230
$this->assertSame($path, $diff->path);
3331
$this->assertSame($status, $diff->status);
3432
}

0 commit comments

Comments
 (0)