Skip to content

Commit

Permalink
Revert "Ignore PHPStan errors in test cases for errors" as these erro…
Browse files Browse the repository at this point in the history
…rs are not reported on PHPStan Rule Level 4

This reverts commit 60fe3d7.
  • Loading branch information
sebastianbergmann committed Dec 8, 2024
1 parent 6a889d8 commit 48b98da
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tests/tests/Target/MapperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ public static function invalidProvider(): array
'Class DoesNotExist is not a valid target for code coverage',
TargetCollection::fromArray(
[
/** @phpstan-ignore argument.type */
Target::forClass('DoesNotExist'),
],
),
Expand All @@ -131,7 +130,6 @@ public static function invalidProvider(): array
'Classes that extend class DoesNotExist is not a valid target for code coverage',
TargetCollection::fromArray(
[
/** @phpstan-ignore argument.type */
Target::forClassesThatExtendClass('DoesNotExist'),
],
),
Expand All @@ -140,7 +138,6 @@ public static function invalidProvider(): array
'Classes that implement interface DoesNotExist is not a valid target for code coverage',
TargetCollection::fromArray(
[
/** @phpstan-ignore argument.type */
Target::forClassesThatImplementInterface('DoesNotExist'),
],
),
Expand All @@ -157,7 +154,6 @@ public static function invalidProvider(): array
'Method DoesNotExist::doesNotExist is not a valid target for code coverage',
TargetCollection::fromArray(
[
/** @phpstan-ignore argument.type */
Target::forMethod('DoesNotExist', 'doesNotExist'),
],
),
Expand Down

0 comments on commit 48b98da

Please sign in to comment.