Skip to content

Commit 48b98da

Browse files
Revert "Ignore PHPStan errors in test cases for errors" as these errors are not reported on PHPStan Rule Level 4
This reverts commit 60fe3d7.
1 parent 6a889d8 commit 48b98da

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/tests/Target/MapperTest.php

-4
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ public static function invalidProvider(): array
122122
'Class DoesNotExist is not a valid target for code coverage',
123123
TargetCollection::fromArray(
124124
[
125-
/** @phpstan-ignore argument.type */
126125
Target::forClass('DoesNotExist'),
127126
],
128127
),
@@ -131,7 +130,6 @@ public static function invalidProvider(): array
131130
'Classes that extend class DoesNotExist is not a valid target for code coverage',
132131
TargetCollection::fromArray(
133132
[
134-
/** @phpstan-ignore argument.type */
135133
Target::forClassesThatExtendClass('DoesNotExist'),
136134
],
137135
),
@@ -140,7 +138,6 @@ public static function invalidProvider(): array
140138
'Classes that implement interface DoesNotExist is not a valid target for code coverage',
141139
TargetCollection::fromArray(
142140
[
143-
/** @phpstan-ignore argument.type */
144141
Target::forClassesThatImplementInterface('DoesNotExist'),
145142
],
146143
),
@@ -157,7 +154,6 @@ public static function invalidProvider(): array
157154
'Method DoesNotExist::doesNotExist is not a valid target for code coverage',
158155
TargetCollection::fromArray(
159156
[
160-
/** @phpstan-ignore argument.type */
161157
Target::forMethod('DoesNotExist', 'doesNotExist'),
162158
],
163159
),

0 commit comments

Comments
 (0)