Skip to content

Commit

Permalink
Ignore new PHPStan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed Jan 6, 2025
1 parent fc9c98d commit 804103e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/Schema/AbstractAssetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public function testConstructWithoutArguments(): void
{
$this->expectDeprecationWithIdentifier('https://github.com/doctrine/dbal/pull/6610');

// @phpstan-ignore expr.resultUnused
new /** @extends AbstractAsset<GenericName> */
class extends AbstractAsset {
};
Expand All @@ -103,6 +104,7 @@ public function testCreateParserNotImplemented(): void
{
$this->expectDeprecationWithIdentifier('https://github.com/doctrine/dbal/pull/6592');

// @phpstan-ignore expr.resultUnused
new /** @extends AbstractAsset<GenericName> */
class ('foo') extends AbstractAsset {
};
Expand Down
1 change: 1 addition & 0 deletions tests/Schema/AbstractNamedObjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function testEmptyName(): void
{
$this->expectDeprecationWithIdentifier('https://github.com/doctrine/dbal/pull/6646');

// @phpstan-ignore expr.resultUnused
new /** @extends AbstractNamedObject<Name> */
class ('') extends AbstractNamedObject {
};
Expand Down

0 comments on commit 804103e

Please sign in to comment.